Remove extra newlines at end and beginning of files, add missing newlines

at end of files.
This commit is contained in:
Peter Eisentraut 2010-08-19 05:57:36 +00:00
parent d37781fa82
commit 3f11971916
156 changed files with 55 additions and 226 deletions

1
README
View file

@ -26,4 +26,3 @@ instructions.
The latest version of this software may be obtained at
http://www.postgresql.org/download/. For more information look at our
web site located at http://www.postgresql.org/.

View file

@ -1,5 +1,5 @@
# Macros to detect C compiler features
# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.22 2010/05/25 17:28:20 meskes Exp $
# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.23 2010/08/19 05:57:33 petere Exp $
# PGAC_C_SIGNED
@ -155,4 +155,3 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([extern void $2 (); void (*fptr) () = $2;],[])],
[LDFLAGS="$pgac_save_LDFLAGS"
AC_MSG_RESULT(assuming no)])
])# PGAC_PROG_CC_LDFLAGS_OPT

View file

@ -28,4 +28,3 @@ SELECT count(*) FROM cidrtmp WHERE a = '121.111.63.82'::cidr;
SELECT count(*) FROM cidrtmp WHERE a >= '121.111.63.82'::cidr;
SELECT count(*) FROM cidrtmp WHERE a > '121.111.63.82'::cidr;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM datetmp WHERE a = '2001-02-13'::date;
SELECT count(*) FROM datetmp WHERE a >= '2001-02-13'::date;
SELECT count(*) FROM datetmp WHERE a > '2001-02-13'::date;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM inettmp WHERE a = '89.225.196.191'::inet;
SELECT count(*) FROM inettmp WHERE a >= '89.225.196.191'::inet;
SELECT count(*) FROM inettmp WHERE a > '89.225.196.191'::inet;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM int2tmp WHERE a = 237::int2;
SELECT count(*) FROM int2tmp WHERE a >= 237::int2;
SELECT count(*) FROM int2tmp WHERE a > 237::int2;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM int4tmp WHERE a = 237::int4;
SELECT count(*) FROM int4tmp WHERE a >= 237::int4;
SELECT count(*) FROM int4tmp WHERE a > 237::int4;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM int8tmp WHERE a = 464571291354841::int8;
SELECT count(*) FROM int8tmp WHERE a >= 464571291354841::int8;
SELECT count(*) FROM int8tmp WHERE a > 464571291354841::int8;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM intervaltmp WHERE a = '199 days 21:21:23'::interval;
SELECT count(*) FROM intervaltmp WHERE a >= '199 days 21:21:23'::interval;
SELECT count(*) FROM intervaltmp WHERE a > '199 days 21:21:23'::interval;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM macaddrtmp WHERE a = '22:00:5c:e5:9b:0d'::macaddr;
SELECT count(*) FROM macaddrtmp WHERE a >= '22:00:5c:e5:9b:0d'::macaddr;
SELECT count(*) FROM macaddrtmp WHERE a > '22:00:5c:e5:9b:0d'::macaddr;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM timetmp WHERE a = '10:57:11'::time;
SELECT count(*) FROM timetmp WHERE a >= '10:57:11'::time;
SELECT count(*) FROM timetmp WHERE a > '10:57:11'::time;

View file

@ -29,4 +29,3 @@ SELECT count(*) FROM timestamptmp WHERE a = '2004-10-26 08:55:08'::timestamp;
SELECT count(*) FROM timestamptmp WHERE a >= '2004-10-26 08:55:08'::timestamp;
SELECT count(*) FROM timestamptmp WHERE a > '2004-10-26 08:55:08'::timestamp;

View file

@ -103,4 +103,3 @@ sub exec_sql {
$sth->finish;
return @row;
}

View file

@ -291,4 +291,3 @@ SELECT count(*) FROM _ltreetest WHERE t ~ '23.*{1}.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.2' ;
SELECT count(*) FROM _ltreetest WHERE t ? '{23.*.1,23.*.2}' ;

View file

@ -2,7 +2,7 @@
#
# pageinspect Makefile
#
# $PostgreSQL: pgsql/contrib/pageinspect/Makefile,v 1.4 2008/09/30 10:52:09 heikki Exp $
# $PostgreSQL: pgsql/contrib/pageinspect/Makefile,v 1.5 2010/08/19 05:57:33 petere Exp $
#
#-------------------------------------------------------------------------
@ -21,4 +21,3 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

View file

@ -41,4 +41,3 @@ set enable_seqscan=off;
select t,similarity(t,'qwertyu0988') as sml from test_trgm where t % 'qwertyu0988' order by sml desc, t;
select t,similarity(t,'gwertyu0988') as sml from test_trgm where t % 'gwertyu0988' order by sml desc, t;
select t,similarity(t,'gwertyu1988') as sml from test_trgm where t % 'gwertyu1988' order by sml desc, t;

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/contrib/pg_upgrade/TESTING,v 1.3 2010/07/09 16:51:23 momjian Exp $
$PostgreSQL: pgsql/contrib/pg_upgrade/TESTING,v 1.4 2010/08/19 05:57:33 petere Exp $
The most effective way to test pg_upgrade, aside from testing on user
data, is by upgrading the PostgreSQL regression database.
@ -62,7 +62,3 @@ steps:
7) Diff the regression database dump file with the regression dump
file loaded into the old server.

View file

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.sql.in,v 1.15 2007/11/13 04:24:28 momjian Exp $ */
/* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.sql.in,v 1.16 2010/08/19 05:57:33 petere Exp $ */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
@ -200,4 +200,3 @@ CREATE OR REPLACE FUNCTION dearmor(text)
RETURNS bytea
AS 'MODULE_PATHNAME', 'pg_dearmor'
LANGUAGE C IMMUTABLE STRICT;

View file

@ -1136,4 +1136,3 @@ static const u4byte rco_tab[10] = {
0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010,
0x00000020, 0x00000040, 0x00000080, 0x0000001b, 0x00000036
};

View file

@ -29,4 +29,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', '3des');
-- long message
select encode(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), '0123456789012345678901', '3des');

View file

@ -90,4 +90,3 @@ select decrypt_iv(decode('95c7e89322525d59', 'hex'), '0123456', 'abcd', 'bf');
-- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'bf'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'bf'), '0123456789', 'bf');

View file

@ -45,4 +45,3 @@ select decrypt_iv(decode('384a970695ce016a', 'hex'),
-- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'cast5'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'cast5'), '0123456789', 'cast5');

View file

@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;

View file

@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;

View file

@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;

View file

@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;

View file

@ -27,4 +27,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', 'des');
-- long message
select encode(encrypt('Lets try a longer message.', '01234567', 'des'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '01234567', 'des'), '01234567', 'des');

View file

@ -42,5 +42,3 @@ SELECT encode(hmac(
'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data',
decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'),
'md5'), 'hex');

View file

@ -42,5 +42,3 @@ SELECT encode(hmac(
'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data',
decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'),
'sha1'), 'hex');

View file

@ -24,4 +24,3 @@ select gen_salt('foo');
select digest('foo', 'foo');
select hmac('foo', 'foo', 'foo');
select encrypt('foo', 'foo', 'foo');

View file

@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'md5'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'md5'), 'hex');
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5'), 'hex');
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5'), 'hex');

View file

@ -28,4 +28,3 @@ select pgp_sym_decrypt(
pgp_sym_encrypt('Secret message', 'key',
'compress-algo=2, compress-level=0'),
'key', 'expect-compress-algo=0');

View file

@ -1,3 +1 @@
-- no random source

View file

@ -95,4 +95,3 @@ select encode(digest(pgp_sym_decrypt(
pgp_sym_encrypt(E'\r\n0\n1\r\r\n\n2\r', 'key', 'convert-crlf=1'),
'key', 'convert-crlf=1'), 'sha1'), 'hex') as result,
encode(digest(E'\r\n0\n1\r\r\n\n2\r', 'sha1'), 'hex') as expect;

View file

@ -20,4 +20,3 @@ select pgp_key_id(dearmor(seckey)) from keytbl where id=6;
select pgp_key_id(dearmor(data)) as data_key_id
from encdata order by id;

View file

@ -1,3 +1 @@
-- no bignum support

View file

@ -546,4 +546,3 @@ from keytbl, encdata where keytbl.id=5 and encdata.id=1;
-- password-protected secret key, right password
select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'parool')
from keytbl, encdata where keytbl.id=5 and encdata.id=1;

View file

@ -48,5 +48,3 @@ select pgp_pub_decrypt(
pgp_pub_encrypt_bytea('Secret msg', dearmor(pubkey)),
dearmor(seckey))
from keytbl where keytbl.id=1;

View file

@ -1,3 +1 @@
-- zlib is disabled

View file

@ -61,4 +61,3 @@ select decrypt_iv(decode('2c24cb7da91d6d5699801268b0f5adad', 'hex'),
-- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'aes'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'aes'), '0123456789', 'aes');

View file

@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'sha1'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'sha1'), 'hex');
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'sha1'), 'hex');
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'sha1'), 'hex');

View file

@ -31,5 +31,3 @@ SELECT encode(digest('abc', 'sha512'), 'hex');
SELECT encode(digest('abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq', 'sha512'), 'hex');
SELECT encode(digest('abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu', 'sha512'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz', 'sha512'), 'hex');

View file

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/contrib/pgcrypto/uninstall_pgcrypto.sql,v 1.4 2007/11/13 04:24:28 momjian Exp $ */
/* $PostgreSQL: pgsql/contrib/pgcrypto/uninstall_pgcrypto.sql,v 1.5 2010/08/19 05:57:33 petere Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
@ -43,4 +43,3 @@ DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text);
DROP FUNCTION pgp_key_id(bytea);
DROP FUNCTION armor(bytea);
DROP FUNCTION dearmor(text);

View file

@ -18,4 +18,3 @@ INSERT INTO username_test VALUES ('tab', ' ');
INSERT INTO username_test VALUES ('name', 'name');
SELECT * FROM username_test;

View file

@ -196,4 +196,3 @@ INSERT INTO connectby_int VALUES(111,11);
INSERT INTO connectby_int VALUES(1,111);
-- this should not fail due to recursion detection
SELECT * FROM connectby('connectby_int', 'keyid', 'parent_keyid', '11', 0, '-') AS t(keyid int, parent_keyid int, level int, branch text);

View file

@ -340,4 +340,3 @@ SELECT count(*) FROM test_tsvector WHERE a @@ 'eq&yt';
SELECT count(*) FROM test_tsvector WHERE a @@ 'eq|yt';
SELECT count(*) FROM test_tsvector WHERE a @@ '(eq&yt)|(wr&qh)';
SELECT count(*) FROM test_tsvector WHERE a @@ '(eq|yt)&(wr|qh)';

View file

@ -1,4 +1,3 @@
PostgreSQL has a single combined bugs, missing features, and todo list
simply called TODO, in this directory. A current copy is always
available on our web site.

View file

@ -1,4 +1,3 @@
PostgreSQL has a single combined bugs, missing features, and todo list
simply called TODO, in this directory. A current copy is always
available on our web site.

View file

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.14 2010/08/17 04:37:21 petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.15 2010/08/19 05:57:33 petere Exp $ -->
<sect1 id="pgupgrade">
<title>pg_upgrade</title>
@ -537,4 +537,3 @@ psql --username postgres --file script.sql postgres
</sect2>
</sect1>

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/src/backend/optimizer/README,v 1.53 2010/03/28 22:59:32 tgl Exp $
$PostgreSQL: pgsql/src/backend/optimizer/README,v 1.54 2010/08/19 05:57:34 petere Exp $
Optimizer
=========
@ -637,4 +637,3 @@ coding of our optimizer, he is available to field questions about
optimizer topics.
-- bjm & tgl

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/src/backend/optimizer/plan/README,v 1.3 2008/03/21 13:23:28 momjian Exp $
$PostgreSQL: pgsql/src/backend/optimizer/plan/README,v 1.4 2010/08/19 05:57:34 petere Exp $
Subselects
==========
@ -10,7 +10,7 @@ From owner-pgsql-hackers@hub.org Fri Feb 13 09:01:19 1998
Received: from renoir.op.net (root@renoir.op.net [209.152.193.4])
by candle.pha.pa.us (8.8.5/8.8.5) with ESMTP id JAA11576
for <maillist@candle.pha.pa.us>; Fri, 13 Feb 1998 09:01:17 -0500 (EST)
Received: from hub.org (hub.org [209.47.148.200]) by renoir.op.net (o1/$Revision: 1.3 $) with ESMTP id IAA09761 for <maillist@candle.pha.pa.us>; Fri, 13 Feb 1998 08:41:22 -0500 (EST)
Received: from hub.org (hub.org [209.47.148.200]) by renoir.op.net (o1/$Revision: 1.4 $) with ESMTP id IAA09761 for <maillist@candle.pha.pa.us>; Fri, 13 Feb 1998 08:41:22 -0500 (EST)
Received: from localhost (majordom@localhost) by hub.org (8.8.8/8.7.5) with SMTP id IAA08135; Fri, 13 Feb 1998 08:40:17 -0500 (EST)
Received: by hub.org (TLB v0.10a (1.23 tibbs 1997/01/09 00:29:32)); Fri, 13 Feb 1998 08:38:42 -0500 (EST)
Received: (from majordom@localhost) by hub.org (8.8.8/8.7.5) id IAA06646 for pgsql-hackers-outgoing; Fri, 13 Feb 1998 08:38:35 -0500 (EST)
@ -156,5 +156,3 @@ SubSelect -> 17 sec (2M of memory)
Using temp table -> 32 sec (12M of memory: -S 8192)
Vadim

View file

@ -1,4 +1,4 @@
-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.6 2007/10/27 16:01:08 tgl Exp $$
-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.7 2010/08/19 05:57:34 petere Exp $$
-- text search configuration for _LANGNAME_ language
CREATE TEXT SEARCH DICTIONARY _DICTNAME_
@ -24,4 +24,3 @@ ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING
ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING
FOR word, hword_part, hword
WITH _NONASCDICTNAME_;

View file

@ -1,4 +1,4 @@
-- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.2 2007/09/03 02:30:43 tgl Exp $$
-- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.3 2010/08/19 05:57:34 petere Exp $$
SET search_path = pg_catalog;
@ -15,4 +15,3 @@ CREATE TEXT SEARCH TEMPLATE snowball
LEXIZE = dsnowball_lexize);
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer';

View file

@ -125,4 +125,3 @@ just
don
should
now

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/src/backend/storage/freespace/README,v 1.1 2008/09/30 10:52:13 heikki Exp $
$PostgreSQL: pgsql/src/backend/storage/freespace/README,v 1.2 2010/08/19 05:57:34 petere Exp $
Free Space Map
--------------
@ -192,4 +192,3 @@ TODO
- fastroot to avoid traversing upper nodes with just 1 child
- use a different system for tables that fit into one FSM page, with a
mechanism to switch to the real thing as it grows.

View file

@ -15,4 +15,3 @@ supernovae stars : *sn
supernovae : *sn
booking tickets : order invitation cards
booking ? tickets : order invitation Cards

View file

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.32 2010/05/09 02:15:59 tgl Exp $
* $PostgreSQL: pgsql/src/backend/tsearch/wparser_def.c,v 1.33 2010/08/19 05:57:34 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -2572,4 +2572,3 @@ prsd_headline(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(prs);
}

View file

@ -63486,4 +63486,3 @@ FFFC 8431A436
FFFD 8431A437
FFFE 8431A438
FFFF 8431A439

View file

@ -2,7 +2,7 @@
#
# Copyright (c) 2001-2010, PostgreSQL Global Development Group
#
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl,v 1.10 2010/01/02 16:57:56 momjian Exp $
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl,v 1.11 2010/08/19 05:57:34 petere Exp $
#
# Generate UTF-8 <--> BIG5 conversion tables from
# map files provided by Unicode organization.
@ -174,4 +174,3 @@ for $index ( sort {$a <=> $b} keys( %array ) ){
print FILE "};\n";
close(FILE);

View file

@ -4,7 +4,7 @@
# Makefile for utils/mb/conversion_procs
#
# IDENTIFICATION
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.24 2009/11/04 23:47:04 tgl Exp $
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.25 2010/08/19 05:57:34 petere Exp $
#
#-------------------------------------------------------------------------
@ -217,4 +217,3 @@ uninstall:
clean distclean maintainer-clean:
rm -f $(SQLSCRIPT)
@for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done

View file

@ -1,8 +1,7 @@
/* -----------------------------------------------------------------------
* formatting.h
*
* $PostgreSQL: pgsql/src/include/utils/formatting.h,v 1.22 2010/01/02 16:58:10 momjian Exp $
* $PostgreSQL: pgsql/src/include/utils/formatting.h,v 1.23 2010/08/19 05:57:34 petere Exp $
*
*
* Portions Copyright (c) 1999-2010, PostgreSQL Global Development Group

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/src/interfaces/ecpg/README.dynSQL,v 1.3 2008/03/21 13:23:28 momjian Exp $
$PostgreSQL: pgsql/src/interfaces/ecpg/README.dynSQL,v 1.4 2010/08/19 05:57:34 petere Exp $
descriptor statements have the following shortcomings
@ -9,4 +9,3 @@ descriptor statements have the following shortcomings
Since this is not likely to happen in the near future and you
can cover the same functionality with the existing infrastructure
(using s[n]printf), I'll leave the work to someone else.

View file

@ -17,4 +17,3 @@
/* Define to 1 to build client libraries as thread-safe code.
* (--enable-thread-safety) */
#undef ENABLE_THREAD_SAFETY

View file

@ -40,4 +40,3 @@ c) "addon" - the automatic action for the rule (SQL syntax constructed
Multiple "addon" or "block" lines may appear together with the
new code block if the code block is common for those rules.

View file

@ -1,5 +1,5 @@
#!/usr/bin/perl
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/check_rules.pl,v 1.2 2010/01/02 16:58:11 momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/check_rules.pl,v 1.3 2010/08/19 05:57:34 petere Exp $
# test parser generater for ecpg
# call with backend parser as stdin
#
@ -133,4 +133,3 @@ sub generate_block {
$s = "\\|", $block =~ s/$s//g;
return $block;
}

View file

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.tokens,v 1.2 2009/07/14 20:34:48 tgl Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.tokens,v 1.3 2010/08/19 05:57:34 petere Exp $ */
/* special embedded SQL tokens */
%token SQL_ALLOCATE SQL_AUTOCOMMIT SQL_BOOL SQL_BREAK
@ -25,4 +25,3 @@
%token CSTRING CVARIABLE CPP_LINE IP
%token DOLCONST ECONST NCONST UCONST UIDENT

View file

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.type,v 1.6 2010/01/15 10:44:37 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.type,v 1.7 2010/08/19 05:57:34 petere Exp $ */
%type <str> ECPGAllocateDescr
%type <str> ECPGCKeywords
%type <str> ECPGColId
@ -143,4 +143,3 @@
%type <type> var_type
%type <action> action

View file

@ -94,4 +94,3 @@ static void openit(void)
{
$open c;
}

View file

@ -10,4 +10,3 @@ TESTS = test1 test1.c \
test5 test5.c
all: $(TESTS)

View file

@ -53,4 +53,3 @@ test: thread/prep
test: thread/alloc
test: thread/descriptor
test: connect/test1

View file

@ -253,4 +253,3 @@ if (sqlca.sqlcode < 0) dosqlprint ( );}
#line 95 "test_informix.pgc"
}

View file

@ -445,4 +445,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0);
}

View file

@ -175,4 +175,3 @@ main(void)
return (0);
}

View file

@ -159,4 +159,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0);
}

View file

@ -40,4 +40,3 @@ int main(void)
exit (0);
}

View file

@ -99,7 +99,6 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
/* exec sql begin declare section */
#line 1 "struct.h"
@ -110,7 +109,7 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
typedef struct mytype MYTYPE ;
#line 10 "struct.h"
#line 9 "struct.h"
@ -123,40 +122,40 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
typedef struct mynulltype MYNULLTYPE ;
#line 20 "struct.h"
#line 19 "struct.h"
#line 11 "outofscope.pgc"
struct mytype {
#line 4 "struct.h"
#line 3 "struct.h"
int id ;
#line 5 "struct.h"
#line 4 "struct.h"
char t [ 64 ] ;
#line 6 "struct.h"
#line 5 "struct.h"
double d1 ;
#line 7 "struct.h"
#line 6 "struct.h"
double d2 ;
#line 8 "struct.h"
#line 7 "struct.h"
char c [ 30 ] ;
} ; struct mynulltype {
#line 14 "struct.h"
#line 13 "struct.h"
int id ;
#line 15 "struct.h"
#line 14 "struct.h"
int t ;
#line 16 "struct.h"
#line 15 "struct.h"
int d1 ;
#line 17 "struct.h"
#line 16 "struct.h"
int d2 ;
#line 18 "struct.h"
#line 17 "struct.h"
int c ;
} ;/* exec sql end declare section */
#line 12 "outofscope.pgc"

View file

@ -214,4 +214,3 @@ int main ()
return 0;
}
#endif

View file

@ -255,4 +255,3 @@ if (sqlca.sqlcode < 0) sqlprint();}
return 0;
}
#endif

View file

@ -10,4 +10,3 @@ TESTS = dt_test dt_test.c \
nan_test nan_test.c
all: $(TESTS)

View file

@ -361,4 +361,3 @@ main(void)
return (0);
}

View file

@ -140,4 +140,3 @@ main(void)
return (0);
}

View file

@ -95,4 +95,3 @@ main(void)
return (0);
}

View file

@ -19,4 +19,3 @@ int main(void)
exec sql disconnect;
exit (0);
}

View file

@ -1,4 +1,3 @@
struct mytype
{
int id;

View file

@ -28,4 +28,3 @@ all: $(TESTS)
oldexec.c: oldexec.pgc ../regression.h
$(ECPG) -r questionmarks -o $@ -I$(srcdir) $<

View file

@ -11,4 +11,3 @@ TESTS = thread_implicit thread_implicit.c \
alloc alloc.c
all: $(TESTS)

View file

@ -86,4 +86,3 @@ int main ()
return 0;
}
#endif

View file

@ -92,4 +92,3 @@ int main ()
return 0;
}
#endif

View file

@ -1,5 +1,4 @@
# $PostgreSQL: pgsql/src/pl/plperl/plc_perlboot.pl,v 1.7 2010/07/27 04:18:28 alvherre Exp $
# $PostgreSQL: pgsql/src/pl/plperl/plc_perlboot.pl,v 1.8 2010/08/19 05:57:35 petere Exp $
use 5.008001;
use vars qw(%_SHARED);
@ -76,4 +75,3 @@ sub ::encode_array_constructor {
} @$arg;
return "ARRAY[$res]";
}

View file

@ -1,6 +1,4 @@
# $PostgreSQL: pgsql/src/pl/plperl/plc_trusted.pl,v 1.1 2010/05/13 16:39:43 adunstan Exp $
# $PostgreSQL: pgsql/src/pl/plperl/plc_trusted.pl,v 1.2 2010/08/19 05:57:35 petere Exp $
package PostgreSQL::InServer::safe;

View file

@ -390,4 +390,3 @@ DO $do$ use strict; my $name = "foo"; my $ref = $$name; $do$ LANGUAGE plperl;
-- check that we can "use warnings" (in this case to turn a warn into an error)
-- yields "ERROR: Useless use of sort in scalar context."
DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAGE plperl;

View file

@ -116,4 +116,3 @@ DELETE FROM trigger_test;
SELECT * FROM trigger_test;

View file

@ -1,5 +1,4 @@
# $PostgreSQL: pgsql/src/pl/plperl/text2macro.pl,v 1.2 2010/01/20 01:08:21 adunstan Exp $
# $PostgreSQL: pgsql/src/pl/plperl/text2macro.pl,v 1.3 2010/08/19 05:57:35 petere Exp $
=head1 NAME

View file

@ -1,3 +1,4 @@
--
-- nested calls
--
CREATE FUNCTION nested_call_one(a text) RETURNS text

View file

@ -1,4 +1,3 @@
INSERT INTO users (fname, lname, username) VALUES ('jane', 'doe', 'j_doe');
INSERT INTO users (fname, lname, username) VALUES ('john', 'doe', 'johnd');
INSERT INTO users (fname, lname, username) VALUES ('willem', 'doe', 'w_doe');
@ -25,4 +24,4 @@ INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 2, 'env') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 3, 'env') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 4, 'gag') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 5, 'env') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 6, 'ns1') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 6, 'ns1') ;

View file

@ -1,4 +1,3 @@
CREATE TABLE users (
fname text not null,
lname text not null,

View file

@ -1,4 +1,4 @@
--
-- nested calls
--

View file

@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo}

View file

@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo}

View file

@ -1,4 +1,4 @@
$PostgreSQL: pgsql/src/pl/tcl/modules/README,v 1.3 2008/03/21 13:23:29 momjian Exp $
$PostgreSQL: pgsql/src/pl/tcl/modules/README,v 1.4 2010/08/19 05:57:35 petere Exp $
Regular Tcl scripts of any size (over 8K :-) can be loaded into
the table pltcl_modules using the pltcl_loadmod script. The script
@ -16,4 +16,3 @@ command that invoked unknown.
I know, this readme should be more explanatory - but time.
Jan

Some files were not shown because too many files have changed in this diff Show more