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. ...@@ -26,4 +26,3 @@ instructions.
The latest version of this software may be obtained at The latest version of this software may be obtained at
http://www.postgresql.org/download/. For more information look at our http://www.postgresql.org/download/. For more information look at our
web site located at http://www.postgresql.org/. web site located at http://www.postgresql.org/.
# Macros to detect C compiler features # 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 # PGAC_C_SIGNED
...@@ -155,4 +155,3 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([extern void $2 (); void (*fptr) () = $2;],[])], ...@@ -155,4 +155,3 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([extern void $2 (); void (*fptr) () = $2;],[])],
[LDFLAGS="$pgac_save_LDFLAGS" [LDFLAGS="$pgac_save_LDFLAGS"
AC_MSG_RESULT(assuming no)]) AC_MSG_RESULT(assuming no)])
])# PGAC_PROG_CC_LDFLAGS_OPT ])# PGAC_PROG_CC_LDFLAGS_OPT
...@@ -28,4 +28,3 @@ SELECT count(*) FROM cidrtmp WHERE a = '121.111.63.82'::cidr; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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; ...@@ -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;
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 { ...@@ -103,4 +103,3 @@ sub exec_sql {
$sth->finish; $sth->finish;
return @row; return @row;
} }
...@@ -291,4 +291,3 @@ SELECT count(*) FROM _ltreetest WHERE t ~ '23.*{1}.1' ; ...@@ -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.*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.2' ; SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.2' ;
SELECT count(*) FROM _ltreetest WHERE t ? '{23.*.1,23.*.2}' ; SELECT count(*) FROM _ltreetest WHERE t ? '{23.*.1,23.*.2}' ;
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# pageinspect Makefile # 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 = ../.. ...@@ -21,4 +21,3 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk include $(top_srcdir)/contrib/contrib-global.mk
endif endif
...@@ -41,4 +41,3 @@ set enable_seqscan=off; ...@@ -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,'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,'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; 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 The most effective way to test pg_upgrade, aside from testing on user
data, is by upgrading the PostgreSQL regression database. data, is by upgrading the PostgreSQL regression database.
...@@ -62,7 +62,3 @@ steps: ...@@ -62,7 +62,3 @@ steps:
7) Diff the regression database dump file with the regression dump 7) Diff the regression database dump file with the regression dump
file loaded into the old server. 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. -- Adjust this setting to control where the objects get created.
SET search_path = public; SET search_path = public;
...@@ -200,4 +200,3 @@ CREATE OR REPLACE FUNCTION dearmor(text) ...@@ -200,4 +200,3 @@ CREATE OR REPLACE FUNCTION dearmor(text)
RETURNS bytea RETURNS bytea
AS 'MODULE_PATHNAME', 'pg_dearmor' AS 'MODULE_PATHNAME', 'pg_dearmor'
LANGUAGE C IMMUTABLE STRICT; LANGUAGE C IMMUTABLE STRICT;
...@@ -1136,4 +1136,3 @@ static const u4byte rco_tab[10] = { ...@@ -1136,4 +1136,3 @@ static const u4byte rco_tab[10] = {
0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010, 0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010,
0x00000020, 0x00000040, 0x00000080, 0x0000001b, 0x00000036 0x00000020, 0x00000040, 0x00000080, 0x0000001b, 0x00000036
}; };
...@@ -29,4 +29,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', '3des'); ...@@ -29,4 +29,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', '3des');
-- long message -- long message
select encode(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), 'hex'); select encode(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789012345678901', '3des'), '0123456789012345678901', '3des'); 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'); ...@@ -90,4 +90,3 @@ select decrypt_iv(decode('95c7e89322525d59', 'hex'), '0123456', 'abcd', 'bf');
-- long message -- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'bf'), 'hex'); select encode(encrypt('Lets try a longer message.', '0123456789', 'bf'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'bf'), '0123456789', 'bf'); select decrypt(encrypt('Lets try a longer message.', '0123456789', 'bf'), '0123456789', 'bf');
...@@ -45,4 +45,3 @@ select decrypt_iv(decode('384a970695ce016a', 'hex'), ...@@ -45,4 +45,3 @@ select decrypt_iv(decode('384a970695ce016a', 'hex'),
-- long message -- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'cast5'), 'hex'); select encode(encrypt('Lets try a longer message.', '0123456789', 'cast5'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'cast5'), '0123456789', 'cast5'); select decrypt(encrypt('Lets try a longer message.', '0123456789', 'cast5'), '0123456789', 'cast5');
...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked" ...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest; FROM ctest;
DROP TABLE ctest; DROP TABLE ctest;
...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked" ...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest; FROM ctest;
DROP TABLE ctest; DROP TABLE ctest;
...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked" ...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest; FROM ctest;
DROP TABLE ctest; DROP TABLE ctest;
...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked" ...@@ -15,4 +15,3 @@ SELECT res = crypt(data, res) AS "worked"
FROM ctest; FROM ctest;
DROP TABLE ctest; DROP TABLE ctest;
...@@ -27,4 +27,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', 'des'); ...@@ -27,4 +27,3 @@ select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', 'des');
-- long message -- long message
select encode(encrypt('Lets try a longer message.', '01234567', 'des'), 'hex'); select encode(encrypt('Lets try a longer message.', '01234567', 'des'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '01234567', 'des'), '01234567', 'des'); select decrypt(encrypt('Lets try a longer message.', '01234567', 'des'), '01234567', 'des');
...@@ -42,5 +42,3 @@ SELECT encode(hmac( ...@@ -42,5 +42,3 @@ SELECT encode(hmac(
'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data', 'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data',
decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'), decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'),
'md5'), 'hex'); 'md5'), 'hex');
...@@ -42,5 +42,3 @@ SELECT encode(hmac( ...@@ -42,5 +42,3 @@ SELECT encode(hmac(
'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data', 'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data',
decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'), decode('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'hex'),
'sha1'), 'hex'); 'sha1'), 'hex');
...@@ -24,4 +24,3 @@ select gen_salt('foo'); ...@@ -24,4 +24,3 @@ select gen_salt('foo');
select digest('foo', 'foo'); select digest('foo', 'foo');
select hmac('foo', 'foo', 'foo'); select hmac('foo', 'foo', 'foo');
select encrypt('foo', 'foo', 'foo'); select encrypt('foo', 'foo', 'foo');
...@@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'md5'), 'hex'); ...@@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'md5'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'md5'), 'hex'); SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'md5'), 'hex');
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5'), 'hex'); SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'md5'), 'hex');
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5'), 'hex'); SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'md5'), 'hex');
...@@ -28,4 +28,3 @@ select pgp_sym_decrypt( ...@@ -28,4 +28,3 @@ select pgp_sym_decrypt(
pgp_sym_encrypt('Secret message', 'key', pgp_sym_encrypt('Secret message', 'key',
'compress-algo=2, compress-level=0'), 'compress-algo=2, compress-level=0'),
'key', 'expect-compress-algo=0'); 'key', 'expect-compress-algo=0');
...@@ -95,4 +95,3 @@ select encode(digest(pgp_sym_decrypt( ...@@ -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'), pgp_sym_encrypt(E'\r\n0\n1\r\r\n\n2\r', 'key', 'convert-crlf=1'),
'key', 'convert-crlf=1'), 'sha1'), 'hex') as result, 'key', 'convert-crlf=1'), 'sha1'), 'hex') as result,
encode(digest(E'\r\n0\n1\r\r\n\n2\r', 'sha1'), 'hex') as expect; 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; ...@@ -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 select pgp_key_id(dearmor(data)) as data_key_id
from encdata order by id; from encdata order by id;
...@@ -546,4 +546,3 @@ from keytbl, encdata where keytbl.id=5 and encdata.id=1; ...@@ -546,4 +546,3 @@ from keytbl, encdata where keytbl.id=5 and encdata.id=1;
-- password-protected secret key, right password -- password-protected secret key, right password
select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'parool') select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'parool')
from keytbl, encdata where keytbl.id=5 and encdata.id=1; from keytbl, encdata where keytbl.id=5 and encdata.id=1;
...@@ -48,5 +48,3 @@ select pgp_pub_decrypt( ...@@ -48,5 +48,3 @@ select pgp_pub_decrypt(
pgp_pub_encrypt_bytea('Secret msg', dearmor(pubkey)), pgp_pub_encrypt_bytea('Secret msg', dearmor(pubkey)),
dearmor(seckey)) dearmor(seckey))
from keytbl where keytbl.id=1; from keytbl where keytbl.id=1;
...@@ -61,4 +61,3 @@ select decrypt_iv(decode('2c24cb7da91d6d5699801268b0f5adad', 'hex'), ...@@ -61,4 +61,3 @@ select decrypt_iv(decode('2c24cb7da91d6d5699801268b0f5adad', 'hex'),
-- long message -- long message
select encode(encrypt('Lets try a longer message.', '0123456789', 'aes'), 'hex'); select encode(encrypt('Lets try a longer message.', '0123456789', 'aes'), 'hex');
select decrypt(encrypt('Lets try a longer message.', '0123456789', 'aes'), '0123456789', 'aes'); select decrypt(encrypt('Lets try a longer message.', '0123456789', 'aes'), '0123456789', 'aes');
...@@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'sha1'), 'hex'); ...@@ -9,4 +9,3 @@ SELECT encode(digest('message digest', 'sha1'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'sha1'), 'hex'); SELECT encode(digest('abcdefghijklmnopqrstuvwxyz', 'sha1'), 'hex');
SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'sha1'), 'hex'); SELECT encode(digest('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 'sha1'), 'hex');
SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'sha1'), 'hex'); SELECT encode(digest('12345678901234567890123456789012345678901234567890123456789012345678901234567890', 'sha1'), 'hex');
...@@ -31,5 +31,3 @@ SELECT encode(digest('abc', 'sha512'), 'hex'); ...@@ -31,5 +31,3 @@ SELECT encode(digest('abc', 'sha512'), 'hex');
SELECT encode(digest('abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq', 'sha512'), 'hex'); SELECT encode(digest('abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq', 'sha512'), 'hex');
SELECT encode(digest('abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu', 'sha512'), 'hex'); SELECT encode(digest('abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu', 'sha512'), 'hex');
SELECT encode(digest('abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz', '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. -- Adjust this setting to control where the objects get dropped.
SET search_path = public; SET search_path = public;
...@@ -43,4 +43,3 @@ DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text); ...@@ -43,4 +43,3 @@ DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text);
DROP FUNCTION pgp_key_id(bytea); DROP FUNCTION pgp_key_id(bytea);
DROP FUNCTION armor(bytea); DROP FUNCTION armor(bytea);
DROP FUNCTION dearmor(text); DROP FUNCTION dearmor(text);
...@@ -18,4 +18,3 @@ INSERT INTO username_test VALUES ('tab', ' '); ...@@ -18,4 +18,3 @@ INSERT INTO username_test VALUES ('tab', ' ');
INSERT INTO username_test VALUES ('name', 'name'); INSERT INTO username_test VALUES ('name', 'name');
SELECT * FROM username_test; SELECT * FROM username_test;
...@@ -196,4 +196,3 @@ INSERT INTO connectby_int VALUES(111,11); ...@@ -196,4 +196,3 @@ INSERT INTO connectby_int VALUES(111,11);
INSERT INTO connectby_int VALUES(1,111); INSERT INTO connectby_int VALUES(1,111);
-- this should not fail due to recursion detection -- 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); 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'; ...@@ -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';
SELECT count(*) FROM test_tsvector WHERE a @@ '(eq&yt)|(wr&qh)'; SELECT count(*) FROM test_tsvector WHERE a @@ '(eq&yt)|(wr&qh)';
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 PostgreSQL has a single combined bugs, missing features, and todo list
simply called TODO, in this directory. A current copy is always simply called TODO, in this directory. A current copy is always
available on our web site. available on our web site.
PostgreSQL has a single combined bugs, missing features, and todo list PostgreSQL has a single combined bugs, missing features, and todo list
simply called TODO, in this directory. A current copy is always simply called TODO, in this directory. A current copy is always
available on our web site. 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"> <sect1 id="pgupgrade">
<title>pg_upgrade</title> <title>pg_upgrade</title>
...@@ -537,4 +537,3 @@ psql --username postgres --file script.sql postgres ...@@ -537,4 +537,3 @@ psql --username postgres --file script.sql postgres
</sect2> </sect2>
</sect1> </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 Optimizer
========= =========
...@@ -637,4 +637,3 @@ coding of our optimizer, he is available to field questions about ...@@ -637,4 +637,3 @@ coding of our optimizer, he is available to field questions about
optimizer topics. optimizer topics.
-- bjm & tgl -- 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 Subselects
========== ==========
...@@ -10,7 +10,7 @@ From owner-pgsql-hackers@hub.org Fri Feb 13 09:01:19 1998 ...@@ -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]) 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 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) 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: 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: 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) 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) ...@@ -156,5 +156,3 @@ SubSelect -> 17 sec (2M of memory)
Using temp table -> 32 sec (12M of memory: -S 8192) Using temp table -> 32 sec (12M of memory: -S 8192)
Vadim 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 -- text search configuration for _LANGNAME_ language
CREATE TEXT SEARCH DICTIONARY _DICTNAME_ CREATE TEXT SEARCH DICTIONARY _DICTNAME_
...@@ -24,4 +24,3 @@ ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING ...@@ -24,4 +24,3 @@ ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING
ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING
FOR word, hword_part, hword FOR word, hword_part, hword
WITH _NONASCDICTNAME_; 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; SET search_path = pg_catalog;
...@@ -15,4 +15,3 @@ CREATE TEXT SEARCH TEMPLATE snowball ...@@ -15,4 +15,3 @@ CREATE TEXT SEARCH TEMPLATE snowball
LEXIZE = dsnowball_lexize); LEXIZE = dsnowball_lexize);
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer'; COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer';
...@@ -125,4 +125,3 @@ just ...@@ -125,4 +125,3 @@ just
don don
should should
now 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 Free Space Map
-------------- --------------
...@@ -192,4 +192,3 @@ TODO ...@@ -192,4 +192,3 @@ TODO
- fastroot to avoid traversing upper nodes with just 1 child - fastroot to avoid traversing upper nodes with just 1 child
- use a different system for tables that fit into one FSM page, with a - use a different system for tables that fit into one FSM page, with a
mechanism to switch to the real thing as it grows. mechanism to switch to the real thing as it grows.
...@@ -15,4 +15,3 @@ supernovae stars : *sn ...@@ -15,4 +15,3 @@ supernovae stars : *sn
supernovae : *sn supernovae : *sn
booking tickets : order invitation cards booking tickets : order invitation cards
booking ? tickets : order invitation Cards booking ? tickets : order invitation Cards
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -2572,4 +2572,3 @@ prsd_headline(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(prs); PG_RETURN_POINTER(prs);
} }
...@@ -63486,4 +63486,3 @@ FFFC 8431A436 ...@@ -63486,4 +63486,3 @@ FFFC 8431A436
FFFD 8431A437 FFFD 8431A437
FFFE 8431A438 FFFE 8431A438
FFFF 8431A439 FFFF 8431A439
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Copyright (c) 2001-2010, PostgreSQL Global Development Group # 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 # Generate UTF-8 <--> BIG5 conversion tables from
# map files provided by Unicode organization. # map files provided by Unicode organization.
...@@ -174,4 +174,3 @@ for $index ( sort {$a <=> $b} keys( %array ) ){ ...@@ -174,4 +174,3 @@ for $index ( sort {$a <=> $b} keys( %array ) ){
print FILE "};\n"; print FILE "};\n";
close(FILE); close(FILE);
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for utils/mb/conversion_procs # Makefile for utils/mb/conversion_procs
# #
# IDENTIFICATION # 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: ...@@ -217,4 +217,3 @@ uninstall:
clean distclean maintainer-clean: clean distclean maintainer-clean:
rm -f $(SQLSCRIPT) rm -f $(SQLSCRIPT)
@for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done @for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
* formatting.h * 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 * 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 descriptor statements have the following shortcomings
...@@ -9,4 +9,3 @@ 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 Since this is not likely to happen in the near future and you
can cover the same functionality with the existing infrastructure can cover the same functionality with the existing infrastructure
(using s[n]printf), I'll leave the work to someone else. (using s[n]printf), I'll leave the work to someone else.
...@@ -17,4 +17,3 @@ ...@@ -17,4 +17,3 @@
/* Define to 1 to build client libraries as thread-safe code. /* Define to 1 to build client libraries as thread-safe code.
* (--enable-thread-safety) */ * (--enable-thread-safety) */
#undef ENABLE_THREAD_SAFETY #undef ENABLE_THREAD_SAFETY
...@@ -40,4 +40,3 @@ c) "addon" - the automatic action for the rule (SQL syntax constructed ...@@ -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 Multiple "addon" or "block" lines may appear together with the
new code block if the code block is common for those rules. new code block if the code block is common for those rules.
#!/usr/bin/perl #!/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 # test parser generater for ecpg
# call with backend parser as stdin # call with backend parser as stdin
# #
...@@ -133,4 +133,3 @@ sub generate_block { ...@@ -133,4 +133,3 @@ sub generate_block {
$s = "\\|", $block =~ s/$s//g; $s = "\\|", $block =~ s/$s//g;
return $block; 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 */ /* special embedded SQL tokens */
%token SQL_ALLOCATE SQL_AUTOCOMMIT SQL_BOOL SQL_BREAK %token SQL_ALLOCATE SQL_AUTOCOMMIT SQL_BOOL SQL_BREAK
...@@ -25,4 +25,3 @@ ...@@ -25,4 +25,3 @@
%token CSTRING CVARIABLE CPP_LINE IP %token CSTRING CVARIABLE CPP_LINE IP
%token DOLCONST ECONST NCONST UCONST UIDENT %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> ECPGAllocateDescr
%type <str> ECPGCKeywords %type <str> ECPGCKeywords
%type <str> ECPGColId %type <str> ECPGColId
...@@ -143,4 +143,3 @@ ...@@ -143,4 +143,3 @@
%type <type> var_type %type <type> var_type
%type <action> action %type <action> action
...@@ -94,4 +94,3 @@ static void openit(void) ...@@ -94,4 +94,3 @@ static void openit(void)
{ {
$open c; $open c;
} }
...@@ -10,4 +10,3 @@ TESTS = test1 test1.c \ ...@@ -10,4 +10,3 @@ TESTS = test1 test1.c \
test5 test5.c test5 test5.c
all: $(TESTS) all: $(TESTS)
...@@ -53,4 +53,3 @@ test: thread/prep ...@@ -53,4 +53,3 @@ test: thread/prep
test: thread/alloc test: thread/alloc
test: thread/descriptor test: thread/descriptor
test: connect/test1 test: connect/test1
...@@ -253,4 +253,3 @@ if (sqlca.sqlcode < 0) dosqlprint ( );} ...@@ -253,4 +253,3 @@ if (sqlca.sqlcode < 0) dosqlprint ( );}
#line 95 "test_informix.pgc" #line 95 "test_informix.pgc"
} }
...@@ -445,4 +445,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );} ...@@ -445,4 +445,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0); return (0);
} }
...@@ -175,4 +175,3 @@ main(void) ...@@ -175,4 +175,3 @@ main(void)
return (0); return (0);
} }
...@@ -159,4 +159,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );} ...@@ -159,4 +159,3 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
return (0); return (0);
} }
...@@ -40,4 +40,3 @@ int main(void) ...@@ -40,4 +40,3 @@ int main(void)
exit (0); exit (0);
} }
...@@ -99,7 +99,6 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *); ...@@ -99,7 +99,6 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
/* exec sql begin declare section */ /* exec sql begin declare section */
#line 1 "struct.h" #line 1 "struct.h"
...@@ -110,7 +109,7 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *); ...@@ -110,7 +109,7 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
typedef struct mytype MYTYPE ; typedef struct mytype MYTYPE ;
#line 10 "struct.h" #line 9 "struct.h"
...@@ -123,40 +122,40 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *); ...@@ -123,40 +122,40 @@ int PGTYPESnumeric_from_decimal(decimal *, numeric *);
typedef struct mynulltype MYNULLTYPE ; typedef struct mynulltype MYNULLTYPE ;
#line 20 "struct.h" #line 19 "struct.h"
#line 11 "outofscope.pgc" #line 11 "outofscope.pgc"
struct mytype { struct mytype {
#line 4 "struct.h" #line 3 "struct.h"
int id ; int id ;
#line 5 "struct.h" #line 4 "struct.h"
char t [ 64 ] ; char t [ 64 ] ;
#line 6 "struct.h" #line 5 "struct.h"
double d1 ; double d1 ;
#line 7 "struct.h" #line 6 "struct.h"
double d2 ; double d2 ;
#line 8 "struct.h" #line 7 "struct.h"
char c [ 30 ] ; char c [ 30 ] ;
} ; struct mynulltype { } ; struct mynulltype {
#line 14 "struct.h" #line 13 "struct.h"
int id ; int id ;
#line 15 "struct.h" #line 14 "struct.h"
int t ; int t ;
#line 16 "struct.h" #line 15 "struct.h"
int d1 ; int d1 ;
#line 17 "struct.h" #line 16 "struct.h"
int d2 ; int d2 ;
#line 18 "struct.h" #line 17 "struct.h"
int c ; int c ;
} ;/* exec sql end declare section */ } ;/* exec sql end declare section */
#line 12 "outofscope.pgc" #line 12 "outofscope.pgc"
......
...@@ -214,4 +214,3 @@ int main () ...@@ -214,4 +214,3 @@ int main ()
return 0; return 0;
} }
#endif #endif
...@@ -255,4 +255,3 @@ if (sqlca.sqlcode < 0) sqlprint();} ...@@ -255,4 +255,3 @@ if (sqlca.sqlcode < 0) sqlprint();}
return 0; return 0;
} }
#endif #endif
...@@ -10,4 +10,3 @@ TESTS = dt_test dt_test.c \ ...@@ -10,4 +10,3 @@ TESTS = dt_test dt_test.c \
nan_test nan_test.c nan_test nan_test.c
all: $(TESTS) all: $(TESTS)
...@@ -361,4 +361,3 @@ main(void) ...@@ -361,4 +361,3 @@ main(void)
return (0); return (0);
} }
...@@ -140,4 +140,3 @@ main(void) ...@@ -140,4 +140,3 @@ main(void)
return (0); return (0);
} }
...@@ -95,4 +95,3 @@ main(void) ...@@ -95,4 +95,3 @@ main(void)
return (0); return (0);
} }
...@@ -19,4 +19,3 @@ int main(void) ...@@ -19,4 +19,3 @@ int main(void)
exec sql disconnect; exec sql disconnect;
exit (0); exit (0);
} }
struct mytype struct mytype
{ {
int id; int id;
......
...@@ -28,4 +28,3 @@ all: $(TESTS) ...@@ -28,4 +28,3 @@ all: $(TESTS)
oldexec.c: oldexec.pgc ../regression.h oldexec.c: oldexec.pgc ../regression.h
$(ECPG) -r questionmarks -o $@ -I$(srcdir) $< $(ECPG) -r questionmarks -o $@ -I$(srcdir) $<
...@@ -11,4 +11,3 @@ TESTS = thread_implicit thread_implicit.c \ ...@@ -11,4 +11,3 @@ TESTS = thread_implicit thread_implicit.c \
alloc alloc.c alloc alloc.c
all: $(TESTS) all: $(TESTS)
...@@ -86,4 +86,3 @@ int main () ...@@ -86,4 +86,3 @@ int main ()
return 0; return 0;
} }
#endif #endif
...@@ -92,4 +92,3 @@ int main () ...@@ -92,4 +92,3 @@ int main ()
return 0; return 0;
} }
#endif #endif
# $PostgreSQL: pgsql/src/pl/plperl/plc_perlboot.pl,v 1.8 2010/08/19 05:57:35 petere Exp $
# $PostgreSQL: pgsql/src/pl/plperl/plc_perlboot.pl,v 1.7 2010/07/27 04:18:28 alvherre Exp $
use 5.008001; use 5.008001;
use vars qw(%_SHARED); use vars qw(%_SHARED);
...@@ -76,4 +75,3 @@ sub ::encode_array_constructor { ...@@ -76,4 +75,3 @@ sub ::encode_array_constructor {
} @$arg; } @$arg;
return "ARRAY[$res]"; return "ARRAY[$res]";
} }
# $PostgreSQL: pgsql/src/pl/plperl/plc_trusted.pl,v 1.2 2010/08/19 05:57:35 petere Exp $
# $PostgreSQL: pgsql/src/pl/plperl/plc_trusted.pl,v 1.1 2010/05/13 16:39:43 adunstan Exp $
package PostgreSQL::InServer::safe; package PostgreSQL::InServer::safe;
......
...@@ -390,4 +390,3 @@ DO $do$ use strict; my $name = "foo"; my $ref = $$name; $do$ LANGUAGE plperl; ...@@ -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) -- 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." -- 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; 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; ...@@ -116,4 +116,3 @@ DELETE FROM trigger_test;
SELECT * FROM trigger_test; SELECT * FROM trigger_test;
# $PostgreSQL: pgsql/src/pl/plperl/text2macro.pl,v 1.3 2010/08/19 05:57:35 petere Exp $
# $PostgreSQL: pgsql/src/pl/plperl/text2macro.pl,v 1.2 2010/01/20 01:08:21 adunstan Exp $
=head1 NAME =head1 NAME
......
--
-- nested calls -- nested calls
-- --
CREATE FUNCTION nested_call_one(a text) RETURNS text 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 ('jane', 'doe', 'j_doe');
INSERT INTO users (fname, lname, username) VALUES ('john', 'doe', 'johnd'); INSERT INTO users (fname, lname, username) VALUES ('john', 'doe', 'johnd');
INSERT INTO users (fname, lname, username) VALUES ('willem', 'doe', 'w_doe'); 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') ; ...@@ -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', 3, 'env') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 4, 'gag') ; 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', 5, 'env') ;
INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 6, 'ns1') ; INSERT INTO sequences (sequence, eid, product) VALUES ('ABCDEF', 6, 'ns1') ;
\ No newline at end of file
CREATE TABLE users ( CREATE TABLE users (
fname text not null, fname text not null,
lname text not null, lname text not null,
......
--
-- nested calls -- nested calls
-- --
......
...@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test ...@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo} NOTICE: args: {23 skidoo}
...@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test ...@@ -220,4 +220,3 @@ NOTICE: TG_table_name: trigger_test
NOTICE: TG_table_schema: public NOTICE: TG_table_schema: public
NOTICE: TG_when: BEFORE NOTICE: TG_when: BEFORE
NOTICE: args: {23 skidoo} 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 Regular Tcl scripts of any size (over 8K :-) can be loaded into
the table pltcl_modules using the pltcl_loadmod script. The script the table pltcl_modules using the pltcl_loadmod script. The script
...@@ -16,4 +16,3 @@ command that invoked unknown. ...@@ -16,4 +16,3 @@ command that invoked unknown.
I know, this readme should be more explanatory - but time. I know, this readme should be more explanatory - but time.
Jan Jan
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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