diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2008-05-17 01:28:26 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2008-05-17 01:28:26 +0000 |
commit | 53972b460c6bc56178244ac53cf71e11bba6c37a (patch) | |
tree | e5ea73b8ea69f5b988aa0649519bec19d9e24cc2 /src/test/examples | |
parent | caede71b447971399011ef7687f4c68fe5ac9fc6 (diff) | |
download | postgresql-53972b460c6bc56178244ac53cf71e11bba6c37a.tar.gz |
Add $PostgreSQL$ markers to a lot of files that were missing them.
This particular batch was just for *.c and *.h file.
The changes were made with the following 2 commands:
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
Diffstat (limited to 'src/test/examples')
-rw-r--r-- | src/test/examples/testlibpq.c | 3 | ||||
-rw-r--r-- | src/test/examples/testlibpq2.c | 3 | ||||
-rw-r--r-- | src/test/examples/testlibpq3.c | 3 | ||||
-rw-r--r-- | src/test/examples/testlibpq4.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/test/examples/testlibpq.c b/src/test/examples/testlibpq.c index b27c17386a..b27d4186f6 100644 --- a/src/test/examples/testlibpq.c +++ b/src/test/examples/testlibpq.c @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/src/test/examples/testlibpq.c,v 1.17 2008/05/17 01:28:25 adunstan Exp $ + * + * * testlibpq.c * * Test the C version of libpq, the PostgreSQL frontend library. diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c index 5949c1364e..8500f50b8e 100644 --- a/src/test/examples/testlibpq2.c +++ b/src/test/examples/testlibpq2.c @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/src/test/examples/testlibpq2.c,v 1.14 2008/05/17 01:28:26 adunstan Exp $ + * + * * testlibpq2.c * Test of the asynchronous notification interface * diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c index 97ed023c14..0e9f9e8b51 100644 --- a/src/test/examples/testlibpq3.c +++ b/src/test/examples/testlibpq3.c @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/src/test/examples/testlibpq3.c,v 1.15 2008/05/17 01:28:26 adunstan Exp $ + * + * * testlibpq3.c * Test out-of-line parameters and binary I/O. * diff --git a/src/test/examples/testlibpq4.c b/src/test/examples/testlibpq4.c index 71b7d25f13..8db0ac5e06 100644 --- a/src/test/examples/testlibpq4.c +++ b/src/test/examples/testlibpq4.c @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/src/test/examples/testlibpq4.c,v 1.13 2008/05/17 01:28:26 adunstan Exp $ + * + * * testlibpq4.c * this test program shows to use LIBPQ to make multiple backend * connections |