Commit 3f119719 authored by Peter Eisentraut's avatar Peter Eisentraut

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

at end of files.
parent d37781fa
......@@ -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/.
# 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
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -103,4 +103,3 @@ sub exec_sql {
$sth->finish;
return @row;
}
......@@ -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}' ;
......@@ -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
......@@ -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;
$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.
/* $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;
......@@ -1136,4 +1136,3 @@ static const u4byte rco_tab[10] = {
0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010,
0x00000020, 0x00000040, 0x00000080, 0x0000001b, 0x00000036
};
......@@ -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');
......@@ -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');
......@@ -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');
......@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;
......@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;
......@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;
......@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest;
DROP TABLE ctest;
......@@ -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');
......@@ -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');
......@@ -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');
......@@ -24,4 +24,3 @@ select gen_salt('foo');
select digest('foo', 'foo');
select hmac('foo', 'foo', 'foo');
select encrypt('foo', 'foo', 'foo');
......@@ -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');
......@@ -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');
......@@ -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;
......@@ -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;
......@@ -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;
......@@ -48,5 +48,3 @@ select pgp_pub_decrypt(
pgp_pub_encrypt_bytea('Secret msg', dearmor(pubkey)),
dearmor(seckey))
from keytbl where keytbl.id=1;
......@@ -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');
......@@ -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');
......@@ -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');
/* $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);
......@@ -18,4 +18,3 @@ INSERT INTO username_test VALUES ('tab', ' ');
INSERT INTO username_test VALUES ('name', 'name');
SELECT * FROM username_test;
......@@ -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);
......@@ -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)';
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.
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.
<!-- $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>
$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
$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
-- $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_;
-- $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';
......@@ -125,4 +125,3 @@ just
don
should
now
$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.
......@@ -15,4 +15,3 @@ supernovae stars : *sn
supernovae : *sn
booking tickets : order invitation cards
booking ? tickets : order invitation Cards
......@@ -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);
}
......@@ -63486,4 +63486,3 @@ FFFC 8431A436
FFFD 8431A437
FFFE 8431A438
FFFF 8431A439
......@@ -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);
......@@ -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
/* -----------------------------------------------------------------------
* 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
......
$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.
......@@ -17,4 +17,3 @@
/* Define to 1 to build client libraries as thread-safe code.
* (--enable-thread-safety) */
#undef ENABLE_THREAD_SAFETY
......@@ -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.
#!/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;
}
/* $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
/* $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
......@@ -94,4 +94,3 @@ static void openit(void)
{
$open c;
}
......@@ -10,4 +10,3 @@ TESTS = test1 test1.c \
test5 test5.c
all: $(TESTS)
......@@ -53,4 +53,3 @@ test: thread/prep
test: thread/alloc
test: thread/descriptor
test: connect/test1
......@@ -253,4 +253,3 @@ if (sqlca.sqlcode < 0) dosqlprint ( );}
#line 95 "test_informix.pgc"
}
......@@ -445,4 +445,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0);
}
......@@ -159,4 +159,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0);
}
......@@ -40,4 +40,3 @@ int main(void)
exit (0);
}
......@@ -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"
......
......@@ -214,4 +214,3 @@ int main ()
return 0;
}
#endif
......@@ -255,4 +255,3 @@ if (sqlca.sqlcode < 0) sqlprint();}
return 0;
}
#endif
......@@ -10,4 +10,3 @@ TESTS = dt_test dt_test.c \
nan_test nan_test.c
all: $(TESTS)
......@@ -361,4 +361,3 @@ main(void)
return (0);
}
......@@ -140,4 +140,3 @@ main(void)
return (0);
}
......@@ -95,4 +95,3 @@ main(void)
return (0);
}
......@@ -19,4 +19,3 @@ int main(void)
exec sql disconnect;
exit (0);
}
......@@ -28,4 +28,3 @@ all: $(TESTS)
oldexec.c: oldexec.pgc ../regression.h
$(ECPG) -r questionmarks -o $@ -I$(srcdir) $<
......@@ -11,4 +11,3 @@ TESTS = thread_implicit thread_implicit.c \
alloc alloc.c
all: $(TESTS)
......@@ -86,4 +86,3 @@ int main ()
return 0;
}
#endif
......@@ -92,4 +92,3 @@ int main ()
return 0;
}
#endif
# $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]";
}
# $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;
......
......@@ -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;
......@@ -116,4 +116,3 @@ DELETE FROM trigger_test;
SELECT * FROM trigger_test;
# $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
......
--
-- nested calls
--
CREATE FUNCTION nested_call_one(a text) RETURNS text
......
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') ;
\ No newline at end of file
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 6, 'ns1') ;
CREATE TABLE users (
fname text not null,
lname text not null,
......
......@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo}
......@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo}
$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
......@@ -61,5 +61,3 @@ proc unknown {proname args} {
#-----------------------------------------------------------
return [uplevel 1 $proname $args]
}
......@@ -78,6 +78,3 @@ select * from T_pkey2 order by key1 using @<, key2;
insert into trigger_test values(1,'insert');
update trigger_test set v = 'update' where i = 1;
delete from trigger_test;
$PostgreSQL: pgsql/src/port/README,v 1.4 2008/03/21 13:23:29 momjian Exp $
$PostgreSQL: pgsql/src/port/README,v 1.5 2010/08/19 05:57:35 petere Exp $
libpgport
=========
......@@ -30,4 +30,3 @@ dependent on symbols that are _used_ by libpq, but not intended to be
exported by libpq. libpq's libpgport usage changes over time, so such a
dependency is a problem. Win32, Linux, and Darwin use an export list to
control the symbols exported by libpq.
# $PostgreSQL: pgsql/src/template/dgux,v 1.12 2006/03/11 04:38:40 momjian Exp $
# $PostgreSQL: pgsql/src/template/dgux,v 1.13 2010/08/19 05:57:35 petere Exp $
# $PostgreSQL: pgsql/src/template/netbsd,v 1.20 2006/03/11 04:38:41 momjian Exp $
# $PostgreSQL: pgsql/src/template/netbsd,v 1.21 2010/08/19 05:57:35 petere Exp $
# tools/thread/thread_test must be run
......@@ -135,4 +135,3 @@ while (<TMPF>)
($tmp, $rtime, $rest) = split (/[ ]+/, $rtime);
print RESF "$test: $rtime\n";
}
if ( $TestDBMS =~ /^pgsql/ )
{
`echo "CREATE TABLE simple (justint int);" | time $FrontEnd`;
......
......@@ -2,4 +2,3 @@ if ( $TestDBMS =~ /^pgsql/ )
{
`echo "CREATE INDEX simpleidx ON simple (justint);" | time $FrontEnd`;
}
if ( $TestDBMS =~ /^pgsql/ )
{
`echo "DROP TABLE simple;" | time $FrontEnd`;
......
# $PostgreSQL: pgsql/src/test/performance/sqls/inssimple,v 1.2 2006/03/11 04:38:41 momjian Exp $
# $PostgreSQL: pgsql/src/test/performance/sqls/inssimple,v 1.3 2010/08/19 05:57:35 petere Exp $
#
# Transactions are unsupported by MySQL - so for insertion of
# 8192 rows, 1 INSERT per Xaction, we returned "Transactions unsupported"
......@@ -27,4 +26,3 @@ if ( $TestDBMS =~ /^mysql/ && $XACTBLOCK eq '' )
# Ok - run queries
`time $FrontEnd < .sqlf`;
`echo "SELECT * FROM simple ORDER BY justint;" | time $FrontEnd`;
`> .sqlf`;
# PgSQL specific to execute all queries in single xaction
......
if ( $TestDBMS =~ /^pgsql/ )
{
`time $FrontEnd -c 'vacuum'`;
......
......@@ -106,4 +106,3 @@ this is just a line full of junk that would error out if parsed
\.
copy copytest3 to stdout csv header;
......@@ -68,4 +68,3 @@ CREATE FUNCTION oldstyle_length(int4, text)
-- Function dynamic loading
--
LOAD '@libdir@/regress@DLSUFFIX@';
......@@ -256,4 +256,3 @@ drop table oldstyle_test;
--
-- rewrite rules
--
......@@ -117,4 +117,3 @@ SELECT '' AS one, b1.*, b2.*
WHERE b1.f1 @> b2.f1 and not b1.f1 ~= b2.f1;
SELECT '' AS four, height(f1), width(f1) FROM BOX_TBL;
......@@ -162,4 +162,3 @@ SELECT * FROM CASE_TBL;
DROP TABLE CASE_TBL;
DROP TABLE CASE2_TBL;
......@@ -34,5 +34,3 @@ CREATE OPERATOR #%# (
-- Test comments
COMMENT ON OPERATOR ###### (int4, NONE) IS 'bad right unary';
......@@ -244,4 +244,3 @@ DROP VIEW street;
DROP VIEW iexit;
DROP VIEW toyemp;
......@@ -115,4 +115,3 @@ DROP GROUP tg2;
DROP GROUP IF EXISTS tg1, tg2;
DROP GROUP tg1;
......@@ -81,4 +81,3 @@ UPDATE FLOAT4_TBL
WHERE FLOAT4_TBL.f1 > '0.0';
SELECT '' AS five, * FROM FLOAT4_TBL;
......@@ -167,4 +167,3 @@ INSERT INTO FLOAT8_TBL(f1) VALUES ('-1.2345678901234e+200');
INSERT INTO FLOAT8_TBL(f1) VALUES ('-1.2345678901234e-200');
SELECT '' AS five, * FROM FLOAT8_TBL;
......@@ -151,4 +151,3 @@ SELECT h.seqno AS f20000
-- SELECT count(*) AS i988 FROM hash_ovfl_heap
-- WHERE x = 1000;
......@@ -71,4 +71,3 @@ COMMIT;
SELECT hs_locks_drop(257);
SELECT pg_switch_xlog();
......@@ -85,4 +85,3 @@ SELECT '' AS five, i.f1, i.f1 - int4 '2' AS x FROM INT2_TBL i;
SELECT '' AS five, i.f1, i.f1 / int2 '2' AS x FROM INT2_TBL i;
SELECT '' AS five, i.f1, i.f1 / int4 '2' AS x FROM INT2_TBL i;
......@@ -23,4 +23,3 @@ select * from LSEG_TBL;
SELECT * FROM LSEG_TBL WHERE s <= lseg '[(1,2),(3,4)]';
SELECT * FROM LSEG_TBL WHERE (s <-> lseg '[(1,2),(3,4)]') < 10;
......@@ -56,4 +56,3 @@ SELECT * FROM money_data;
DELETE FROM money_data;
INSERT INTO money_data VALUES ('$123.459');
SELECT * FROM money_data;
......@@ -645,4 +645,3 @@ SELECT t1.id1, t1.result, t2.expected
FROM num_result t1, num_exp_power_10_ln t2
WHERE t1.id1 = t2.id
AND t1.result != t2.expected;
......@@ -96,4 +96,3 @@ DROP TABLE TEMP_INT4;
DROP TABLE TEMP_FLOAT;
DROP TABLE TEMP_GROUP;
......@@ -36,4 +36,3 @@ SELECT '' AS count, f1 AS closed_path FROM PATH_TBL WHERE isclosed(f1);
SELECT '' AS count, pclose(f1) AS closed_path FROM PATH_TBL;
SELECT '' AS count, popen(f1) AS open_path FROM PATH_TBL;
......@@ -171,4 +171,3 @@ SELECT '((0,4),(6,4),(1,2),(6,0),(0,0))'::polygon && '((2,1),(2,3),(3,3),(3,1))'
-- +-------+
SELECT '((1,4),(1,1),(4,1),(4,2),(2,2),(2,4),(1,4))'::polygon && '((3,3),(4,3),(4,4),(3,4),(3,3))'::polygon AS "false";
SELECT '((200,800),(800,800),(800,200),(200,200))' && '(1000,1000,0,0)'::polygon AS "true";
......@@ -96,4 +96,3 @@ CLOSE foo24;
CLOSE foo25;
END;
......@@ -75,4 +75,3 @@ SELECT name, statement, parameter_types FROM pg_prepared_statements
DEALLOCATE ALL;
SELECT name, statement, parameter_types FROM pg_prepared_statements
ORDER BY name;
......@@ -41,4 +41,3 @@ SELECT random, count(random) FROM RANDOM_TBL
SELECT AVG(random) FROM RANDOM_TBL
HAVING AVG(random) NOT BETWEEN 80 AND 120;
......@@ -152,4 +152,3 @@ SELECT * FROM test_missing_target3;
DROP TABLE test_missing_target;
DROP TABLE test_missing_target2;
DROP TABLE test_missing_target3;
......@@ -15,4 +15,3 @@ SELECT *
WHERE onek2.unique1 < 2;
DROP TABLE tmp1;
......@@ -8,4 +8,3 @@ SELECT * FROM street;
SELECT name, #thepath FROM iexit ORDER BY 1, 2;
SELECT * FROM toyemp WHERE name = 'sharon';
......@@ -116,4 +116,4 @@ SELECT lastval();
ROLLBACK;
DROP USER seq_user;
DROP SEQUENCE seq;
\ No newline at end of file
DROP SEQUENCE seq;
......@@ -578,4 +578,3 @@ SELECT * FROM min_updates_test_oids;
DROP TABLE min_updates_test;
DROP TABLE min_updates_test_oids;
$PostgreSQL: pgsql/src/test/thread/README,v 1.3 2009/12/02 14:07:26 momjian Exp $
$PostgreSQL: pgsql/src/test/thread/README,v 1.4 2010/08/19 05:57:35 petere Exp $
Threading
=========
......@@ -52,4 +52,3 @@ to test your system however, you can do so as follows:
Your system uses gethostbyname which is thread-safe.
Your platform is thread-safe.
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.2 2008/06/15 21:58:55 adunstan Exp $
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.3 2010/08/19 05:57:35 petere Exp $
# Author: Andrew Dunstan
......@@ -47,4 +47,3 @@ find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \
xargs -l sed -i -e '1i/*\n * \x24PostgreSQL:$ \n */'
rm -f dummy
$PostgreSQL: pgsql/src/tools/backend/README,v 1.2 2008/03/21 13:23:29 momjian Exp $
$PostgreSQL: pgsql/src/tools/backend/README,v 1.3 2010/08/19 05:57:35 petere Exp $
Just point your browser at the index.html file, and click on the
flowchart to see the description and source code.
......@@ -347,4 +347,3 @@ href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>
Last updated: Fri May 6 14:22:27 EDT 2005</small>
</body>
</html>
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/copyright,v 1.18 2009/01/01 18:31:55 momjian Exp $
# $PostgreSQL: pgsql/src/tools/copyright,v 1.19 2010/08/19 05:57:35 petere Exp $
echo "Using current year: `date '+%Y'`"
......@@ -12,4 +12,3 @@ do
done
echo "Manually update doc/src/sgml/legal.sgml and src/interfaces/libpq/libpq.rc.in too" 1>&2
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" These settings are appropriate for editing PostgreSQL code with vim
......
......@@ -26,4 +26,3 @@ install:
install -s $(TARGET) $(BINDIR)
rm -f $(BINDIR)/detab
ln $(BINDIR)/$(TARGET) $(BINDIR)/detab
......@@ -3,7 +3,7 @@
# This script attempts to find bad ifdef's, i.e. ifdef's that use braces
# but not the do { ... } while (0) syntax
#
# $PostgreSQL: pgsql/src/tools/find_badmacros,v 1.2 2006/03/11 04:38:41 momjian Exp $
# $PostgreSQL: pgsql/src/tools/find_badmacros,v 1.3 2010/08/19 05:57:35 petere Exp $
#
# This is useful for running before pgindent
......@@ -20,4 +20,3 @@ do
}' "$FILE"
grep -on '^#define.*{' "$FILE" | grep -v 'do[ ]*{'
done
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/find_static,v 1.5 2006/07/14 14:59:00 momjian Exp $
# $PostgreSQL: pgsql/src/tools/find_static,v 1.6 2010/08/19 05:57:35 petere Exp $
trap "rm -f /tmp/$$" 0 1 2 3 15
......@@ -49,4 +49,3 @@ echo "
where scope = 'T' and func != 'main'
order by file, func;
" |psql debug
$PostgreSQL: pgsql/src/tools/make_diff/README,v 1.4 2008/03/21 13:23:29 momjian Exp $
$PostgreSQL: pgsql/src/tools/make_diff/README,v 1.5 2010/08/19 05:57:36 petere Exp $
scripts
=======
......@@ -37,4 +37,3 @@ the files I used with cporig.
Finally, I remove my old copies with 'rmorig'.
Bruce Momjian
# -*-perl-*- hey - emacs - this is a perl file
# $PostgreSQL: pgsql/src/tools/msvc/build.pl,v 1.3 2010/04/09 13:05:58 mha Exp $
# $PostgreSQL: pgsql/src/tools/msvc/build.pl,v 1.4 2010/08/19 05:57:36 petere Exp $
BEGIN
{
......
# -*-perl-*- hey - emacs - this is a perl file
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.15 2010/04/09 13:05:58 mha Exp $
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.16 2010/08/19 05:57:36 petere Exp $
use strict;
......
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.42 2010/07/06 19:26:28 momjian Exp $
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.43 2010/08/19 05:57:36 petere Exp $
pgindent
========
......@@ -75,4 +75,3 @@ To use pgindent:
4) Save a list of typedefs by running:
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
......@@ -7,7 +7,7 @@
-- Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
-- Portions Copyright (c) 1994, Regents of the University of California
--
-- $PostgreSQL: pgsql/src/tutorial/syscat.source,v 1.21 2010/01/02 16:58:17 momjian Exp $
-- $PostgreSQL: pgsql/src/tutorial/syscat.source,v 1.22 2010/08/19 05:57:36 petere Exp $
--
---------------------------------------------------------------------------
......@@ -182,4 +182,3 @@ SELECT am.amname, n.nspname, opf.opfname, opr.oprname
-- Reset the search path
--
RESET SEARCH_PATH;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment