summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2006-03-11 04:38:42 +0000
committerBruce Momjian2006-03-11 04:38:42 +0000
commitebe95dc0df213025ee28f9d9624396260a91cf8b (patch)
tree3e79d3ccecce32ed6835cd751be6527b8b2ee6e5
parent42015da8b1d8e709fa1bc4bcfdfe9afdc57ada5d (diff)
Add CVS tag lines to files that were lacking them.
-rwxr-xr-xconfig/install-sh2
-rwxr-xr-xconfig/missing2
-rwxr-xr-xconfig/mkinstalldirs2
-rw-r--r--contrib/cube/cube.c2
-rw-r--r--contrib/cube/cubedata.h2
-rw-r--r--contrib/cube/cubeparse.y2
-rw-r--r--contrib/cube/cubescan.l1
-rw-r--r--contrib/dbase/dbf.c2
-rw-r--r--contrib/dbase/dbf.h2
-rw-r--r--contrib/dbase/dbf2pg.12
-rw-r--r--contrib/dbase/dbf2pg.c2
-rw-r--r--contrib/dbase/endian.c1
-rw-r--r--contrib/dblink/dblink.c1
-rw-r--r--contrib/dblink/dblink.h1
-rw-r--r--contrib/dblink/doc/connection1
-rw-r--r--contrib/dblink/doc/cursor1
-rw-r--r--contrib/dblink/doc/execute1
-rw-r--r--contrib/dblink/doc/misc1
-rw-r--r--contrib/earthdistance/earthdistance.c2
-rw-r--r--contrib/fulltextindex/fti.c2
-rw-r--r--contrib/fulltextindex/fti.pl2
-rw-r--r--contrib/fuzzystrmatch/dmetaphone.c4
-rw-r--r--contrib/fuzzystrmatch/fuzzystrmatch.c1
-rw-r--r--contrib/fuzzystrmatch/fuzzystrmatch.h1
-rw-r--r--contrib/intagg/int_aggregate.c2
-rwxr-xr-xcontrib/intarray/bench/create_test.pl2
-rw-r--r--contrib/ltree/crc32.c2
-rw-r--r--contrib/ltree/crc32.h2
-rw-r--r--contrib/ltree/lquery_op.c1
-rw-r--r--contrib/ltree/ltree.h2
-rw-r--r--contrib/ltree/ltree_gist.c1
-rw-r--r--contrib/ltree/ltree_io.c1
-rw-r--r--contrib/ltree/ltree_op.c1
-rw-r--r--contrib/ltree/ltxtquery_io.c1
-rw-r--r--contrib/ltree/ltxtquery_op.c1
-rw-r--r--contrib/mSQL-interface/mpgsql.c2
-rwxr-xr-xcontrib/mac/createoui3
-rwxr-xr-xcontrib/mac/dropoui2
-rw-r--r--contrib/oid2name/oid2name.c1
-rw-r--r--contrib/pgcrypto/crypt-blowfish.c2
-rw-r--r--contrib/pgcrypto/crypt-des.c2
-rw-r--r--contrib/pgcrypto/crypt-gensalt.c2
-rw-r--r--contrib/pgcrypto/misc.c2
-rw-r--r--contrib/spi/insert_username.c1
-rw-r--r--contrib/spi/moddatetime.c2
-rw-r--r--contrib/tsearch2/crc32.c2
-rw-r--r--contrib/tsearch2/crc32.h2
-rw-r--r--contrib/tsearch2/dict.c2
-rw-r--r--contrib/tsearch2/dict.h2
-rw-r--r--contrib/tsearch2/dict_ex.c2
-rw-r--r--contrib/tsearch2/dict_ispell.c2
-rw-r--r--contrib/tsearch2/dict_snowball.c2
-rw-r--r--contrib/tsearch2/dict_syn.c2
-rw-r--r--contrib/tsearch2/gendict/dict_snowball.c.IN2
-rw-r--r--contrib/tsearch2/gendict/dict_tmpl.c.IN2
-rw-r--r--contrib/tsearch2/gistidx.c2
-rw-r--r--contrib/tsearch2/gistidx.h2
-rw-r--r--contrib/tsearch2/snowball/english_stem.c1
-rw-r--r--contrib/tsearch2/snowball/english_stem.h1
-rw-r--r--contrib/tsearch2/snowball/header.h1
-rw-r--r--contrib/tsearch2/wordparser/deflex.c2
-rw-r--r--contrib/tsearch2/wordparser/deflex.h2
-rw-r--r--contrib/tsearch2/wordparser/parser.c2
-rw-r--r--contrib/tsearch2/wordparser/parser.h2
-rwxr-xr-xdoc/src/sgml/fixrtf3
-rw-r--r--doc/src/sgml/mk_feature_tables.pl2
-rwxr-xr-xsrc/backend/port/aix/mkldexport.sh2
-rw-r--r--src/backend/port/dynloader/cygwin.c2
-rw-r--r--src/backend/port/dynloader/freebsd.c2
-rw-r--r--src/backend/port/dynloader/irix.c2
-rw-r--r--src/backend/port/dynloader/netbsd.c2
-rw-r--r--src/backend/port/dynloader/nextstep.c2
-rw-r--r--src/backend/port/dynloader/nextstep.h4
-rw-r--r--src/backend/port/dynloader/openbsd.c2
-rw-r--r--src/backend/port/dynloader/osf.c1
-rw-r--r--src/backend/utils/mb/Unicode/euc_cn_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/euc_jp_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/euc_kr_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/euc_tw_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/gb18030_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/gbk_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_10_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_13_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_14_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_15_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_16_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_2_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_3_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_4_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_5_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_6_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_7_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_8_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/iso8859_9_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/johab_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/koi8r_to_utf8.map2
-rw-r--r--src/bin/pgevent/pgmsgevent.h2
-rw-r--r--src/include/catalog/pg_trigger.h1
-rw-r--r--src/include/pg_config.h.win322
-rw-r--r--src/include/port/darwin.h2
-rw-r--r--src/include/port/dgux.h2
-rw-r--r--src/include/port/freebsd.h2
-rw-r--r--src/include/port/hpux.h2
-rw-r--r--src/include/port/irix.h2
-rw-r--r--src/include/port/linux.h1
-rw-r--r--src/include/port/netbsd.h1
-rw-r--r--src/include/port/nextstep.h2
-rw-r--r--src/include/port/openbsd.h2
-rw-r--r--src/include/port/osf.h2
-rw-r--r--src/include/port/win32/arpa/inet.h2
-rw-r--r--src/include/port/win32/dlfcn.h2
-rw-r--r--src/include/port/win32/grp.h2
-rw-r--r--src/include/port/win32/netdb.h1
-rw-r--r--src/include/port/win32/netinet/in.h2
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c2
-rw-r--r--src/interfaces/ecpg/ecpglib/extern.h2
-rw-r--r--src/interfaces/ecpg/include/datetime.h2
-rw-r--r--src/interfaces/ecpg/include/decimal.h2
-rw-r--r--src/interfaces/ecpg/include/ecpg_informix.h1
-rw-r--r--src/interfaces/ecpg/include/ecpgerrno.h2
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h1
-rw-r--r--src/interfaces/ecpg/include/ecpgtype.h2
-rw-r--r--src/interfaces/ecpg/include/pgtypes_date.h2
-rw-r--r--src/interfaces/ecpg/include/pgtypes_error.h2
-rw-r--r--src/interfaces/ecpg/include/pgtypes_interval.h2
-rw-r--r--src/interfaces/ecpg/include/pgtypes_numeric.h2
-rw-r--r--src/interfaces/ecpg/include/pgtypes_timestamp.h2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/datetime.c2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt.h2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt_common.c2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/extern.h2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/interval.c2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/numeric.c2
-rw-r--r--src/interfaces/ecpg/preproc/descriptor.c2
-rw-r--r--src/interfaces/ecpg/preproc/extern.h2
-rw-r--r--src/interfaces/ecpg/preproc/output.c2
-rw-r--r--src/interfaces/ecpg/test/dt_test.pgc2
-rw-r--r--src/interfaces/ecpg/test/header_test.h2
-rw-r--r--src/interfaces/ecpg/test/num_test.pgc2
-rw-r--r--src/interfaces/ecpg/test/perftest.pgc2
-rw-r--r--src/interfaces/libpq/libpqdll.c2
-rw-r--r--src/pl/tcl/modules/pltcl_delmod.in2
-rw-r--r--src/pl/tcl/modules/pltcl_listmod.in2
-rw-r--r--src/port/crypt.c1
-rw-r--r--src/port/getopt.c2
-rw-r--r--src/template/cygwin2
-rw-r--r--src/template/darwin2
-rw-r--r--src/template/dgux3
-rw-r--r--src/template/freebsd2
-rw-r--r--src/template/hpux2
-rw-r--r--src/template/linux2
-rw-r--r--src/template/netbsd1
-rw-r--r--src/template/nextstep2
-rw-r--r--src/template/osf2
-rw-r--r--src/test/bench/perquery2
-rw-r--r--src/test/performance/sqls/inssimple1
-rw-r--r--src/test/regress/parallel_schedule1
-rw-r--r--src/timezone/data/etcetera2
-rw-r--r--src/timezone/data/europe2
-rw-r--r--src/timezone/data/factory2
-rw-r--r--src/timezone/data/iso3166.tab2
-rw-r--r--src/timezone/data/leapseconds2
-rw-r--r--src/tools/backend/index.html1
-rwxr-xr-xsrc/tools/ccsym3
-rwxr-xr-xsrc/tools/codelines4
-rwxr-xr-xsrc/tools/copyright4
-rw-r--r--src/tools/entab/entab.c2
-rw-r--r--src/tools/entab/entab.man1
-rw-r--r--src/tools/entab/halt.c2
-rwxr-xr-xsrc/tools/find_badmacros3
-rwxr-xr-xsrc/tools/find_gt_lt4
-rwxr-xr-xsrc/tools/find_static3
-rwxr-xr-xsrc/tools/find_typedef3
-rwxr-xr-xsrc/tools/findoidjoins/make_oidjoins_check2
-rwxr-xr-xsrc/tools/make_ctags3
-rw-r--r--src/tools/make_diff/README2
-rwxr-xr-xsrc/tools/make_diff/cporig5
-rwxr-xr-xsrc/tools/make_diff/difforig5
-rwxr-xr-xsrc/tools/make_diff/rmorig5
-rwxr-xr-xsrc/tools/make_etags3
-rwxr-xr-xsrc/tools/make_keywords2
-rwxr-xr-xsrc/tools/make_mkid2
-rwxr-xr-xsrc/tools/pgcvslog5
-rwxr-xr-xsrc/tools/pginclude/pgcompinclude1
-rwxr-xr-xsrc/tools/pginclude/pgdefine2
-rwxr-xr-xsrc/tools/pginclude/pgfixinclude1
-rwxr-xr-xsrc/tools/pginclude/pgrminclude2
-rw-r--r--src/tools/pgindent/indent.bsd.patch1
-rwxr-xr-xsrc/tools/pgindent/pgcppindent2
-rwxr-xr-xsrc/tools/pgindent/pgindent2
-rwxr-xr-xsrc/tools/pgindent/pgjindent2
-rwxr-xr-xsrc/tools/pgtest4
-rw-r--r--src/tutorial/funcs.c2
-rw-r--r--src/tutorial/funcs_new.c2
-rw-r--r--src/utils/dllinit.c2
195 files changed, 374 insertions, 12 deletions
diff --git a/config/install-sh b/config/install-sh
index 1a8353401c..30595ae5aa 100755
--- a/config/install-sh
+++ b/config/install-sh
@@ -1,6 +1,8 @@
#!/bin/sh
# install - install a program, script, or datafile
+# $PostgreSQL$
+
scriptversion=2005-02-02.21
# This originates from X11R5 (mit/util/scripts/install.sh), which was
diff --git a/config/missing b/config/missing
index 29865631d5..1c8bd8af96 100755
--- a/config/missing
+++ b/config/missing
@@ -1,5 +1,7 @@
#! /bin/sh
+# $PostgreSQL$
+
# This is *not* the GNU `missing' script, although it is similar in
# concept. You can call it from the makefiles to get consistent
# behavior when certain utility programs are missing.
diff --git a/config/mkinstalldirs b/config/mkinstalldirs
index 5d26a485f1..c51e3ed2b9 100755
--- a/config/mkinstalldirs
+++ b/config/mkinstalldirs
@@ -1,6 +1,8 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
+# $PostgreSQL$
+
scriptversion=2005-02-02.21
# Original author: Noah Friedman <[email protected]>
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c
index 0bc88ef6f1..b3089200e5 100644
--- a/contrib/cube/cube.c
+++ b/contrib/cube/cube.c
@@ -1,4 +1,6 @@
/******************************************************************************
+ $PostgreSQL$
+
This file contains routines that can be bound to a Postgres backend and
called by the backend in the process of processing queries. The calling
format for these routines is dictated by Postgres architecture.
diff --git a/contrib/cube/cubedata.h b/contrib/cube/cubedata.h
index 8eaea960f7..ed5203da17 100644
--- a/contrib/cube/cubedata.h
+++ b/contrib/cube/cubedata.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#define CUBE_MAX_DIM (100)
typedef struct NDBOX
{
diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y
index 9756b508aa..4f7ad841a6 100644
--- a/contrib/cube/cubeparse.y
+++ b/contrib/cube/cubeparse.y
@@ -2,6 +2,8 @@
/* NdBox = [(lowerleft),(upperright)] */
/* [(xLL(1)...xLL(N)),(xUR(1)...xUR(n))] */
+/* $PostgreSQL$ */
+
#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */
#define YYSTYPE char *
#define YYDEBUG 1
diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l
index 9d2b4ae18c..2453aba848 100644
--- a/contrib/cube/cubescan.l
+++ b/contrib/cube/cubescan.l
@@ -1,6 +1,7 @@
%{
/*
** A scanner for EMP-style numeric ranges
+ * $PostgreSQL$
*/
#include "postgres.h"
diff --git a/contrib/dbase/dbf.c b/contrib/dbase/dbf.c
index 4c79a07d60..c13a9f6213 100644
--- a/contrib/dbase/dbf.c
+++ b/contrib/dbase/dbf.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* Routines to read and write xBase-files (.dbf)
By Maarten Boekhold, 29th of oktober 1995
diff --git a/contrib/dbase/dbf.h b/contrib/dbase/dbf.h
index d9c88ed35b..5fbcb42c20 100644
--- a/contrib/dbase/dbf.h
+++ b/contrib/dbase/dbf.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* header-file for dbf.c
declares routines for reading and writing xBase-files (.dbf), and
associated structures
diff --git a/contrib/dbase/dbf2pg.1 b/contrib/dbase/dbf2pg.1
index e62d3323b5..da8e9af62f 100644
--- a/contrib/dbase/dbf2pg.1
+++ b/contrib/dbase/dbf2pg.1
@@ -1,3 +1,5 @@
+.\" $PostgreSQL$
+
.TH dbf2sql 1L \" -*- nroff -*-
.SH NAME
dbf2sql \- Insert xBase\-style .dbf\-files into a PostgreSQL\-table
diff --git a/contrib/dbase/dbf2pg.c b/contrib/dbase/dbf2pg.c
index 50948a6bf2..3daa7a41aa 100644
--- a/contrib/dbase/dbf2pg.c
+++ b/contrib/dbase/dbf2pg.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* This program reads in an xbase-dbf file and sends 'inserts' to an
PostgreSQL-server with the records in the xbase-file
diff --git a/contrib/dbase/endian.c b/contrib/dbase/endian.c
index f45d958e40..d32346c995 100644
--- a/contrib/dbase/endian.c
+++ b/contrib/dbase/endian.c
@@ -1,3 +1,4 @@
+/* $PostgreSQL$ */
/* Maarten Boekhold ([email protected]) oktober 1995 */
#include <sys/types.h>
diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c
index 22a3425ee7..4f9ffdcba5 100644
--- a/contrib/dblink/dblink.c
+++ b/contrib/dblink/dblink.c
@@ -8,6 +8,7 @@
* Darko Prenosil <[email protected]>
* Shridhar Daithankar <[email protected]>
*
+ * $PostgreSQL$
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
diff --git a/contrib/dblink/dblink.h b/contrib/dblink/dblink.h
index 8f2c9ff4c1..80f0c03786 100644
--- a/contrib/dblink/dblink.h
+++ b/contrib/dblink/dblink.h
@@ -8,6 +8,7 @@
* Darko Prenosil <[email protected]>
* Shridhar Daithankar <[email protected]>
*
+ * $PostgreSQL$
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
diff --git a/contrib/dblink/doc/connection b/contrib/dblink/doc/connection
index c3ce776fbc..a32bf54cb8 100644
--- a/contrib/dblink/doc/connection
+++ b/contrib/dblink/doc/connection
@@ -1,3 +1,4 @@
+$PostgreSQL$
==================================================================
Name
diff --git a/contrib/dblink/doc/cursor b/contrib/dblink/doc/cursor
index 321c823e21..4fa64353b9 100644
--- a/contrib/dblink/doc/cursor
+++ b/contrib/dblink/doc/cursor
@@ -1,3 +1,4 @@
+$PostgreSQL$
==================================================================
Name
diff --git a/contrib/dblink/doc/execute b/contrib/dblink/doc/execute
index d4c09b22de..ac02f3c6ab 100644
--- a/contrib/dblink/doc/execute
+++ b/contrib/dblink/doc/execute
@@ -1,3 +1,4 @@
+$PostgreSQL$
==================================================================
Name
diff --git a/contrib/dblink/doc/misc b/contrib/dblink/doc/misc
index 596c9ecdcf..9b4624ba6b 100644
--- a/contrib/dblink/doc/misc
+++ b/contrib/dblink/doc/misc
@@ -1,3 +1,4 @@
+$PostgreSQL$
==================================================================
Name
diff --git a/contrib/earthdistance/earthdistance.c b/contrib/earthdistance/earthdistance.c
index f91eeb5392..fdbeba1b78 100644
--- a/contrib/earthdistance/earthdistance.c
+++ b/contrib/earthdistance/earthdistance.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres.h"
#include <math.h>
diff --git a/contrib/fulltextindex/fti.c b/contrib/fulltextindex/fti.c
index 9e120dc892..73518323e6 100644
--- a/contrib/fulltextindex/fti.c
+++ b/contrib/fulltextindex/fti.c
@@ -8,6 +8,8 @@
/*
* Trigger function accepts variable number of arguments:
*
+ * $PostgreSQL$
+ *
* 1. relation in which to store the substrings
* 2. fields to extract substrings from
*
diff --git a/contrib/fulltextindex/fti.pl b/contrib/fulltextindex/fti.pl
index 4feb51964f..007def4a9e 100644
--- a/contrib/fulltextindex/fti.pl
+++ b/contrib/fulltextindex/fti.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl
#
+# $PostgreSQL$
+#
# This script substracts all suffixes of all words in a specific column in a table
# and generates output that can be loaded into a new table with the
# psql '\copy' command. The new table should have the following structure:
diff --git a/contrib/fuzzystrmatch/dmetaphone.c b/contrib/fuzzystrmatch/dmetaphone.c
index 820cced856..8509543433 100644
--- a/contrib/fuzzystrmatch/dmetaphone.c
+++ b/contrib/fuzzystrmatch/dmetaphone.c
@@ -1,6 +1,8 @@
/*
* This is a port of the Double Metaphone algorithm for use in PostgreSQL.
*
+ * $PostgreSQL$
+ *
* Double Metaphone computes 2 "sounds like" strings - a primary and an
* alternate. In most cases they are the same, but for foreign names
* especially they can be a bit different, depending on pronunciation.
@@ -48,7 +50,7 @@
/*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
* $Id$
*/
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c
index 140e52fa5f..5a9205592e 100644
--- a/contrib/fuzzystrmatch/fuzzystrmatch.c
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.c
@@ -5,6 +5,7 @@
*
* Joe Conway <[email protected]>
*
+ * $PostgreSQL$
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.h b/contrib/fuzzystrmatch/fuzzystrmatch.h
index 40552ba871..f5df2b5251 100644
--- a/contrib/fuzzystrmatch/fuzzystrmatch.h
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.h
@@ -5,6 +5,7 @@
*
* Joe Conway <[email protected]>
*
+ * $PostgreSQL$
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
diff --git a/contrib/intagg/int_aggregate.c b/contrib/intagg/int_aggregate.c
index afe5dd526f..acca4e8bb1 100644
--- a/contrib/intagg/int_aggregate.c
+++ b/contrib/intagg/int_aggregate.c
@@ -5,6 +5,8 @@
* DMN Digital Music Network.
* www.dmn.com
*
+ * $PostgreSQL$
+ *
* Copyright (C) Digital Music Network
* December 20, 2001
*
diff --git a/contrib/intarray/bench/create_test.pl b/contrib/intarray/bench/create_test.pl
index b39d1fb473..a1d1d94ee0 100755
--- a/contrib/intarray/bench/create_test.pl
+++ b/contrib/intarray/bench/create_test.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl
+# $PostgreSQL$
+
use strict;
print <<EOT;
create table message (
diff --git a/contrib/ltree/crc32.c b/contrib/ltree/crc32.c
index c82b3a644c..fea972b466 100644
--- a/contrib/ltree/crc32.c
+++ b/contrib/ltree/crc32.c
@@ -1,5 +1,7 @@
/* Both POSIX and CRC32 checksums */
+/* $PostgreSQL$ */
+
#include <sys/types.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/contrib/ltree/crc32.h b/contrib/ltree/crc32.h
index f70722c1c5..6473d3b4fd 100644
--- a/contrib/ltree/crc32.h
+++ b/contrib/ltree/crc32.h
@@ -1,6 +1,8 @@
#ifndef _CRC32_H
#define _CRC32_H
+/* $PostgreSQL$ */
+
/* Returns crc32 of data block */
extern unsigned int ltree_crc32_sz(char *buf, int size);
diff --git a/contrib/ltree/lquery_op.c b/contrib/ltree/lquery_op.c
index 9d43b6444d..e957a97853 100644
--- a/contrib/ltree/lquery_op.c
+++ b/contrib/ltree/lquery_op.c
@@ -1,6 +1,7 @@
/*
* op function for ltree and lquery
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/ltree/ltree.h b/contrib/ltree/ltree.h
index 3281afefa1..0c91643ed7 100644
--- a/contrib/ltree/ltree.h
+++ b/contrib/ltree/ltree.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __LTREE_H__
#define __LTREE_H__
diff --git a/contrib/ltree/ltree_gist.c b/contrib/ltree/ltree_gist.c
index 5447677e02..7cc9b600f5 100644
--- a/contrib/ltree/ltree_gist.c
+++ b/contrib/ltree/ltree_gist.c
@@ -1,6 +1,7 @@
/*
* GiST support for ltree
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/ltree/ltree_io.c b/contrib/ltree/ltree_io.c
index a44a5a71dd..353e06512b 100644
--- a/contrib/ltree/ltree_io.c
+++ b/contrib/ltree/ltree_io.c
@@ -1,6 +1,7 @@
/*
* in/out function for ltree and lquery
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/ltree/ltree_op.c b/contrib/ltree/ltree_op.c
index f10f7df412..52cfea1a4f 100644
--- a/contrib/ltree/ltree_op.c
+++ b/contrib/ltree/ltree_op.c
@@ -1,6 +1,7 @@
/*
* op function for ltree
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c
index 1a7117c15f..783005f330 100644
--- a/contrib/ltree/ltxtquery_io.c
+++ b/contrib/ltree/ltxtquery_io.c
@@ -1,6 +1,7 @@
/*
* txtquery io
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/ltree/ltxtquery_op.c b/contrib/ltree/ltxtquery_op.c
index 34e711eaca..98cfd94f76 100644
--- a/contrib/ltree/ltxtquery_op.c
+++ b/contrib/ltree/ltxtquery_op.c
@@ -1,6 +1,7 @@
/*
* txtquery operations with ltree
* Teodor Sigaev <[email protected]>
+ * $PostgreSQL$
*/
#include "ltree.h"
diff --git a/contrib/mSQL-interface/mpgsql.c b/contrib/mSQL-interface/mpgsql.c
index 1f43f61ea1..5a48b51887 100644
--- a/contrib/mSQL-interface/mpgsql.c
+++ b/contrib/mSQL-interface/mpgsql.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include <time.h>
#include <string.h>
#include <stdlib.h>
diff --git a/contrib/mac/createoui b/contrib/mac/createoui
index ec1edcfa17..8f6c5f0e2d 100755
--- a/contrib/mac/createoui
+++ b/contrib/mac/createoui
@@ -1,4 +1,7 @@
#! /bin/sh
+
+# $PostgreSQL$
+
# Utility to create manufacturer's oui table
# OUI is "Organizationally Unique Identifier" assigned by IEEE.
# There are currently three duplicate listings, so we can not enforce
diff --git a/contrib/mac/dropoui b/contrib/mac/dropoui
index 6fffdc92d6..f925240706 100755
--- a/contrib/mac/dropoui
+++ b/contrib/mac/dropoui
@@ -1,5 +1,7 @@
#! /bin/sh
# Utility to remove manufacturer's oui table
+# $PostgreSQL$
+
args=
diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c
index 069c1708d6..5b07f69f82 100644
--- a/contrib/oid2name/oid2name.c
+++ b/contrib/oid2name/oid2name.c
@@ -4,6 +4,7 @@
*
* Originally by
* B. Palmer, [email protected] 1-17-2001
+ * $PostgreSQL$
*/
#include "postgres_fe.h"
diff --git a/contrib/pgcrypto/crypt-blowfish.c b/contrib/pgcrypto/crypt-blowfish.c
index 42a694b62f..5c737cd13a 100644
--- a/contrib/pgcrypto/crypt-blowfish.c
+++ b/contrib/pgcrypto/crypt-blowfish.c
@@ -1,4 +1,6 @@
/*
+ * $PostgreSQL$
+ *
* This code comes from John the Ripper password cracker, with reentrant
* and crypt(3) interfaces added, but optimizations specific to password
* cracking removed.
diff --git a/contrib/pgcrypto/crypt-des.c b/contrib/pgcrypto/crypt-des.c
index dcd875c965..8718a37b3a 100644
--- a/contrib/pgcrypto/crypt-des.c
+++ b/contrib/pgcrypto/crypt-des.c
@@ -1,6 +1,8 @@
/*
* FreeSec: libcrypt for NetBSD
*
+ * $PostgreSQL$
+ *
* Copyright (c) 1994 David Burren
* All rights reserved.
*
diff --git a/contrib/pgcrypto/crypt-gensalt.c b/contrib/pgcrypto/crypt-gensalt.c
index 01775ee7b7..8f9de1cc4f 100644
--- a/contrib/pgcrypto/crypt-gensalt.c
+++ b/contrib/pgcrypto/crypt-gensalt.c
@@ -2,6 +2,8 @@
* Written by Solar Designer and placed in the public domain.
* See crypt_blowfish.c for more information.
*
+ * $PostgreSQL$
+ *
* This file contains salt generation functions for the traditional and
* other common crypt(3) algorithms, except for bcrypt which is defined
* entirely in crypt_blowfish.c.
diff --git a/contrib/pgcrypto/misc.c b/contrib/pgcrypto/misc.c
index 734ad9f9f0..a05dc795bb 100644
--- a/contrib/pgcrypto/misc.c
+++ b/contrib/pgcrypto/misc.c
@@ -2,6 +2,8 @@
* Copyright (c) 1999
* University of California. All rights reserved.
*
+ * $PostgreSQL$
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
diff --git a/contrib/spi/insert_username.c b/contrib/spi/insert_username.c
index ce8c21f9be..785e0aface 100644
--- a/contrib/spi/insert_username.c
+++ b/contrib/spi/insert_username.c
@@ -1,6 +1,7 @@
/*
* insert_username.c
* $Modified: Thu Oct 16 08:13:42 1997 by brook $
+ * $PostgreSQL$
*
* insert user name in response to a trigger
* usage: insert_username (column_name)
diff --git a/contrib/spi/moddatetime.c b/contrib/spi/moddatetime.c
index 14556a8514..28bc934ea1 100644
--- a/contrib/spi/moddatetime.c
+++ b/contrib/spi/moddatetime.c
@@ -1,6 +1,8 @@
/*
moddatetime.c
+$PostgreSQL$
+
What is this?
It is a function to be called from a trigger for the purpose of updating
a modification datetime stamp in a record when that record is UPDATEd.
diff --git a/contrib/tsearch2/crc32.c b/contrib/tsearch2/crc32.c
index c314019b7f..27ffcfee37 100644
--- a/contrib/tsearch2/crc32.c
+++ b/contrib/tsearch2/crc32.c
@@ -1,5 +1,7 @@
/* Both POSIX and CRC32 checksums */
+/* $PostgreSQL$ */
+
#include <sys/types.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/contrib/tsearch2/crc32.h b/contrib/tsearch2/crc32.h
index 97254a4a90..136d9a5ecc 100644
--- a/contrib/tsearch2/crc32.h
+++ b/contrib/tsearch2/crc32.h
@@ -1,6 +1,8 @@
#ifndef _CRC32_H
#define _CRC32_H
+/* $PostgreSQL$ */
+
/* Returns crc32 of data block */
extern unsigned int crc32_sz(char *buf, int size);
diff --git a/contrib/tsearch2/dict.c b/contrib/tsearch2/dict.c
index f221d174ef..debd73656c 100644
--- a/contrib/tsearch2/dict.c
+++ b/contrib/tsearch2/dict.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* interface functions to dictionary
* Teodor Sigaev <[email protected]>
diff --git a/contrib/tsearch2/dict.h b/contrib/tsearch2/dict.h
index 8aef0b0cb7..8071d8bab6 100644
--- a/contrib/tsearch2/dict.h
+++ b/contrib/tsearch2/dict.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __DICT_H__
#define __DICT_H__
#include "postgres.h"
diff --git a/contrib/tsearch2/dict_ex.c b/contrib/tsearch2/dict_ex.c
index 334bb5248d..440fcc27fd 100644
--- a/contrib/tsearch2/dict_ex.c
+++ b/contrib/tsearch2/dict_ex.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* example of dictionary
* Teodor Sigaev <[email protected]>
diff --git a/contrib/tsearch2/dict_ispell.c b/contrib/tsearch2/dict_ispell.c
index 0e887da584..67dcea769e 100644
--- a/contrib/tsearch2/dict_ispell.c
+++ b/contrib/tsearch2/dict_ispell.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* ISpell interface
* Teodor Sigaev <[email protected]>
diff --git a/contrib/tsearch2/dict_snowball.c b/contrib/tsearch2/dict_snowball.c
index 92e25b6e2e..7136bcdde2 100644
--- a/contrib/tsearch2/dict_snowball.c
+++ b/contrib/tsearch2/dict_snowball.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* example of Snowball dictionary
* http://snowball.tartarus.org/
diff --git a/contrib/tsearch2/dict_syn.c b/contrib/tsearch2/dict_syn.c
index b0c50334ea..fe252fc817 100644
--- a/contrib/tsearch2/dict_syn.c
+++ b/contrib/tsearch2/dict_syn.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* ISpell interface
* Teodor Sigaev <[email protected]>
diff --git a/contrib/tsearch2/gendict/dict_snowball.c.IN b/contrib/tsearch2/gendict/dict_snowball.c.IN
index 818fd6b157..7d080fb447 100644
--- a/contrib/tsearch2/gendict/dict_snowball.c.IN
+++ b/contrib/tsearch2/gendict/dict_snowball.c.IN
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* example of Snowball dictionary
* http://snowball.tartarus.org/
diff --git a/contrib/tsearch2/gendict/dict_tmpl.c.IN b/contrib/tsearch2/gendict/dict_tmpl.c.IN
index 9d90df712b..b473dd8631 100644
--- a/contrib/tsearch2/gendict/dict_tmpl.c.IN
+++ b/contrib/tsearch2/gendict/dict_tmpl.c.IN
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* example of dictionary
* Teodor Sigaev <[email protected]>
diff --git a/contrib/tsearch2/gistidx.c b/contrib/tsearch2/gistidx.c
index 6aabae2777..ba68452610 100644
--- a/contrib/tsearch2/gistidx.c
+++ b/contrib/tsearch2/gistidx.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres.h"
#include <float.h>
diff --git a/contrib/tsearch2/gistidx.h b/contrib/tsearch2/gistidx.h
index 142318b8c8..ed53d25b9d 100644
--- a/contrib/tsearch2/gistidx.h
+++ b/contrib/tsearch2/gistidx.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __GISTIDX_H__
#define __GISTIDX_H__
diff --git a/contrib/tsearch2/snowball/english_stem.c b/contrib/tsearch2/snowball/english_stem.c
index ccb3d12988..1e0d3b77cc 100644
--- a/contrib/tsearch2/snowball/english_stem.c
+++ b/contrib/tsearch2/snowball/english_stem.c
@@ -1,3 +1,4 @@
+/* $PostgreSQL$ */
/* This file was generated automatically by the Snowball to ANSI C compiler */
diff --git a/contrib/tsearch2/snowball/english_stem.h b/contrib/tsearch2/snowball/english_stem.h
index c889c7bfa9..99d104658b 100644
--- a/contrib/tsearch2/snowball/english_stem.h
+++ b/contrib/tsearch2/snowball/english_stem.h
@@ -1,3 +1,4 @@
+/* $PostgreSQL$ */
/* This file was generated automatically by the Snowball to ANSI C compiler */
diff --git a/contrib/tsearch2/snowball/header.h b/contrib/tsearch2/snowball/header.h
index 3889ede53e..0b18ac6768 100644
--- a/contrib/tsearch2/snowball/header.h
+++ b/contrib/tsearch2/snowball/header.h
@@ -1,3 +1,4 @@
+/* $PostgreSQL$ */
#include <limits.h>
diff --git a/contrib/tsearch2/wordparser/deflex.c b/contrib/tsearch2/wordparser/deflex.c
index 8f93d277a1..a3aafd3e20 100644
--- a/contrib/tsearch2/wordparser/deflex.c
+++ b/contrib/tsearch2/wordparser/deflex.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "deflex.h"
const char *lex_descr[] = {
diff --git a/contrib/tsearch2/wordparser/deflex.h b/contrib/tsearch2/wordparser/deflex.h
index 893f843051..23d9dbae0a 100644
--- a/contrib/tsearch2/wordparser/deflex.h
+++ b/contrib/tsearch2/wordparser/deflex.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __DEFLEX_H__
#define __DEFLEX_H__
diff --git a/contrib/tsearch2/wordparser/parser.c b/contrib/tsearch2/wordparser/parser.c
index 8a5fcdabe6..1eb5052921 100644
--- a/contrib/tsearch2/wordparser/parser.c
+++ b/contrib/tsearch2/wordparser/parser.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres.h"
#include "utils/builtins.h"
diff --git a/contrib/tsearch2/wordparser/parser.h b/contrib/tsearch2/wordparser/parser.h
index baeabf72cd..c180166940 100644
--- a/contrib/tsearch2/wordparser/parser.h
+++ b/contrib/tsearch2/wordparser/parser.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __PARSER_H__
#define __PARSER_H__
diff --git a/doc/src/sgml/fixrtf b/doc/src/sgml/fixrtf
index 2c1172408c..cda4837e5d 100755
--- a/doc/src/sgml/fixrtf
+++ b/doc/src/sgml/fixrtf
@@ -1,5 +1,8 @@
#!/bin/sh
# fixrtf
+
+# $PostgreSQL$
+
# Repair (slightly) damaged RTF generated by jade
# Applixware wants the s0 stylesheet defined, whereas
# M$Word does not care about it.
diff --git a/doc/src/sgml/mk_feature_tables.pl b/doc/src/sgml/mk_feature_tables.pl
index 445acdb2e9..62a89df68e 100644
--- a/doc/src/sgml/mk_feature_tables.pl
+++ b/doc/src/sgml/mk_feature_tables.pl
@@ -1,5 +1,7 @@
# /usr/bin/perl -w
+# $PostgreSQL$
+
my $yesno = $ARGV[0];
open PACK, $ARGV[1] or die;
diff --git a/src/backend/port/aix/mkldexport.sh b/src/backend/port/aix/mkldexport.sh
index 5eca61be60..0e9244857f 100755
--- a/src/backend/port/aix/mkldexport.sh
+++ b/src/backend/port/aix/mkldexport.sh
@@ -3,6 +3,8 @@
# mkldexport
# create an AIX exports file from an object file
#
+# $PostgreSQL$
+#
# Usage:
# mkldexport objectfile [location]
# where
diff --git a/src/backend/port/dynloader/cygwin.c b/src/backend/port/dynloader/cygwin.c
index 9a1436fa4a..ad7e7e9dcd 100644
--- a/src/backend/port/dynloader/cygwin.c
+++ b/src/backend/port/dynloader/cygwin.c
@@ -1 +1,3 @@
+/* $PostgreSQL$ */
+
/* Dummy file used for nothing at this point; see cygwin.h */
diff --git a/src/backend/port/dynloader/freebsd.c b/src/backend/port/dynloader/freebsd.c
index 9341ef2444..521d57cb42 100644
--- a/src/backend/port/dynloader/freebsd.c
+++ b/src/backend/port/dynloader/freebsd.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/*
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1990 The Regents of the University of California.
diff --git a/src/backend/port/dynloader/irix.c b/src/backend/port/dynloader/irix.c
index d5a654b0cf..f47f3a99c7 100644
--- a/src/backend/port/dynloader/irix.c
+++ b/src/backend/port/dynloader/irix.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* Dummy file used for nothing at this point
*
* see irix.h
diff --git a/src/backend/port/dynloader/netbsd.c b/src/backend/port/dynloader/netbsd.c
index f5b837d179..e2e36ee55f 100644
--- a/src/backend/port/dynloader/netbsd.c
+++ b/src/backend/port/dynloader/netbsd.c
@@ -3,6 +3,8 @@
* Portions Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
+ * $PostgreSQL$
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
diff --git a/src/backend/port/dynloader/nextstep.c b/src/backend/port/dynloader/nextstep.c
index 09b317daf9..c22a469a61 100644
--- a/src/backend/port/dynloader/nextstep.c
+++ b/src/backend/port/dynloader/nextstep.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres.h"
#include "mach-o/rld.h"
diff --git a/src/backend/port/dynloader/nextstep.h b/src/backend/port/dynloader/nextstep.h
index f1345d0788..e13debf2cf 100644
--- a/src/backend/port/dynloader/nextstep.h
+++ b/src/backend/port/dynloader/nextstep.h
@@ -3,9 +3,9 @@
* port_protos.h
* port-specific prototypes for NeXT
*
-
--------------------------------------------------------------------------
+ * $PostgreSQL$
*/
+
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
diff --git a/src/backend/port/dynloader/openbsd.c b/src/backend/port/dynloader/openbsd.c
index f5b837d179..e2e36ee55f 100644
--- a/src/backend/port/dynloader/openbsd.c
+++ b/src/backend/port/dynloader/openbsd.c
@@ -3,6 +3,8 @@
* Portions Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
+ * $PostgreSQL$
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
diff --git a/src/backend/port/dynloader/osf.c b/src/backend/port/dynloader/osf.c
index 92007c6af1..bf0c3fa7e7 100644
--- a/src/backend/port/dynloader/osf.c
+++ b/src/backend/port/dynloader/osf.c
@@ -1,4 +1,5 @@
/* Dummy file used for nothing at this point
*
* see alpha.h
+ * $PostgreSQL$
*/
diff --git a/src/backend/utils/mb/Unicode/euc_cn_to_utf8.map b/src/backend/utils/mb/Unicode/euc_cn_to_utf8.map
index fcbf486c74..2034555a65 100644
--- a/src/backend/utils/mb/Unicode/euc_cn_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/euc_cn_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapEUC_CN[ 7445 ] = {
{0xa1a1, 0xe38080},
{0xa1a2, 0xe38081},
diff --git a/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map b/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
index 9aee2c7fd9..126a08ad58 100644
--- a/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapEUC_JP[] = {
{0x8ea1, 0xefbda1},
{0x8ea2, 0xefbda2},
diff --git a/src/backend/utils/mb/Unicode/euc_kr_to_utf8.map b/src/backend/utils/mb/Unicode/euc_kr_to_utf8.map
index 32b31cc1df..87be3e33c6 100644
--- a/src/backend/utils/mb/Unicode/euc_kr_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/euc_kr_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapEUC_KR[ 8224 ] = {
{0xa1a1, 0xe38080},
{0xa1a2, 0xe38081},
diff --git a/src/backend/utils/mb/Unicode/euc_tw_to_utf8.map b/src/backend/utils/mb/Unicode/euc_tw_to_utf8.map
index a2959b26b1..f948fcb82f 100644
--- a/src/backend/utils/mb/Unicode/euc_tw_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/euc_tw_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapEUC_TW[ 23575 ] = {
{0xa1a1, 0xe38080},
{0xa1a2, 0xefbc8c},
diff --git a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
index 3aea9f4ec8..3a99983d7f 100644
--- a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapGB18030[ 63360 ] = {
{0x8140, 0xe4b882},
{0x8141, 0xe4b884},
diff --git a/src/backend/utils/mb/Unicode/gbk_to_utf8.map b/src/backend/utils/mb/Unicode/gbk_to_utf8.map
index f2c16cbce7..1c700a1d27 100644
--- a/src/backend/utils/mb/Unicode/gbk_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/gbk_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapGBK[ 21792 ] = {
{0x0080, 0xe282ac},
{0x8140, 0xe4b882},
diff --git a/src/backend/utils/mb/Unicode/iso8859_10_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_10_to_utf8.map
index fd0a0a3676..4b54937080 100644
--- a/src/backend/utils/mb/Unicode/iso8859_10_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_10_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_10[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_13_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_13_to_utf8.map
index 77bc5aeac5..6a96be7520 100644
--- a/src/backend/utils/mb/Unicode/iso8859_13_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_13_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_13[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_14_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_14_to_utf8.map
index d3f2054bbb..0c0bc8c23d 100644
--- a/src/backend/utils/mb/Unicode/iso8859_14_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_14_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_14[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_15_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_15_to_utf8.map
index 594e22338f..d49d3d7653 100644
--- a/src/backend/utils/mb/Unicode/iso8859_15_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_15_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_15[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_16_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_16_to_utf8.map
index ac3d8d1b8a..08310804e5 100644
--- a/src/backend/utils/mb/Unicode/iso8859_16_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_16_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_16[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_2_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_2_to_utf8.map
index 3cbf164cbb..b4a73db426 100644
--- a/src/backend/utils/mb/Unicode/iso8859_2_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_2_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_2[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_3_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_3_to_utf8.map
index 2e8cceb849..1876a8f369 100644
--- a/src/backend/utils/mb/Unicode/iso8859_3_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_3_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_3[ 121 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_4_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_4_to_utf8.map
index 59341ef720..9ea4c3da29 100644
--- a/src/backend/utils/mb/Unicode/iso8859_4_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_4_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_4[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_5_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_5_to_utf8.map
index 6518287a2a..2f9c68ed7e 100644
--- a/src/backend/utils/mb/Unicode/iso8859_5_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_5_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_5[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_6_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_6_to_utf8.map
index f847f7f208..5d40166403 100644
--- a/src/backend/utils/mb/Unicode/iso8859_6_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_6_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_6[ 83 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_7_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_7_to_utf8.map
index 9f2db13fb2..b56889a5c6 100644
--- a/src/backend/utils/mb/Unicode/iso8859_7_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_7_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_7[ 125 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_8_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_8_to_utf8.map
index a47af89514..6f3d4fe85f 100644
--- a/src/backend/utils/mb/Unicode/iso8859_8_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_8_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_8[ 92 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/iso8859_9_to_utf8.map b/src/backend/utils/mb/Unicode/iso8859_9_to_utf8.map
index 9e002adb84..cbce2f6cc3 100644
--- a/src/backend/utils/mb/Unicode/iso8859_9_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/iso8859_9_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapISO8859_9[ 128 ] = {
{0x0080, 0xc280},
{0x0081, 0xc281},
diff --git a/src/backend/utils/mb/Unicode/johab_to_utf8.map b/src/backend/utils/mb/Unicode/johab_to_utf8.map
index 915633d9ed..5249c733bb 100644
--- a/src/backend/utils/mb/Unicode/johab_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/johab_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapJOHAB[ 17046 ] = {
{0x8444, 0xe384b3},
{0x8446, 0xe384b5},
diff --git a/src/backend/utils/mb/Unicode/koi8r_to_utf8.map b/src/backend/utils/mb/Unicode/koi8r_to_utf8.map
index c02aec45fc..aff36b73bf 100644
--- a/src/backend/utils/mb/Unicode/koi8r_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/koi8r_to_utf8.map
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
static pg_local_to_utf LUmapKOI8R[ 128 ] = {
{0x0080, 0xe29480},
{0x0081, 0xe29482},
diff --git a/src/bin/pgevent/pgmsgevent.h b/src/bin/pgevent/pgmsgevent.h
index 94e0bcf7e5..337239d5bf 100644
--- a/src/bin/pgevent/pgmsgevent.h
+++ b/src/bin/pgevent/pgmsgevent.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* */
/* Values are 32 bit values layed out as follows: */
/* */
diff --git a/src/include/catalog/pg_trigger.h b/src/include/catalog/pg_trigger.h
index 8aaaf4c092..20720d15dc 100644
--- a/src/include/catalog/pg_trigger.h
+++ b/src/include/catalog/pg_trigger.h
@@ -5,6 +5,7 @@
*
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
+ * $PostgreSQL$
*
* NOTES
* the genbki.sh script reads this file and generates .bki
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 9d35643663..eaf0691ded 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef pg_config_h_win32__
#define pg_config_h_win32__
/*
diff --git a/src/include/port/darwin.h b/src/include/port/darwin.h
index af4ce9b385..079a19502b 100644
--- a/src/include/port/darwin.h
+++ b/src/include/port/darwin.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#define __darwin__ 1
#if HAVE_DECL_F_FULLFSYNC /* not present before OS X 10.3 */
diff --git a/src/include/port/dgux.h b/src/include/port/dgux.h
index e0e0c74de1..827360f7c1 100644
--- a/src/include/port/dgux.h
+++ b/src/include/port/dgux.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
#endif
diff --git a/src/include/port/freebsd.h b/src/include/port/freebsd.h
index 8b13789179..e38bb2d27e 100644
--- a/src/include/port/freebsd.h
+++ b/src/include/port/freebsd.h
@@ -1 +1 @@
-
+/* $PostgreSQL$ */
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h
index e96c5324a3..619a3fd782 100644
--- a/src/include/port/hpux.h
+++ b/src/include/port/hpux.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
#endif
diff --git a/src/include/port/irix.h b/src/include/port/irix.h
index 8b13789179..e38bb2d27e 100644
--- a/src/include/port/irix.h
+++ b/src/include/port/irix.h
@@ -1 +1 @@
-
+/* $PostgreSQL$ */
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 8b13789179..1730b1c341 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -1 +1,2 @@
+/* $PostgreSQL$ */
diff --git a/src/include/port/netbsd.h b/src/include/port/netbsd.h
index 8b13789179..1730b1c341 100644
--- a/src/include/port/netbsd.h
+++ b/src/include/port/netbsd.h
@@ -1 +1,2 @@
+/* $PostgreSQL$ */
diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h
index 12ce891237..853942c384 100644
--- a/src/include/port/nextstep.h
+++ b/src/include/port/nextstep.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "libc.h"
#include <sys/ioctl.h>
#if defined(__STRICT_ANSI__)
diff --git a/src/include/port/openbsd.h b/src/include/port/openbsd.h
index 8b13789179..e38bb2d27e 100644
--- a/src/include/port/openbsd.h
+++ b/src/include/port/openbsd.h
@@ -1 +1 @@
-
+/* $PostgreSQL$ */
diff --git a/src/include/port/osf.h b/src/include/port/osf.h
index 2368f3b593..965d37ef9b 100644
--- a/src/include/port/osf.h
+++ b/src/include/port/osf.h
@@ -1,2 +1,4 @@
+/* $PostgreSQL$ */
+
#define NOFIXADE
#define DISABLE_XOPEN_NLS
diff --git a/src/include/port/win32/arpa/inet.h b/src/include/port/win32/arpa/inet.h
index dc979c0537..1322661e49 100644
--- a/src/include/port/win32/arpa/inet.h
+++ b/src/include/port/win32/arpa/inet.h
@@ -1 +1,3 @@
+/* $PostgreSQL$ */
+
#include <sys/socket.h>
diff --git a/src/include/port/win32/dlfcn.h b/src/include/port/win32/dlfcn.h
index 8b13789179..a5a4a25ab6 100644
--- a/src/include/port/win32/dlfcn.h
+++ b/src/include/port/win32/dlfcn.h
@@ -1 +1,3 @@
+/* $PostgreSQL$ */
+
diff --git a/src/include/port/win32/grp.h b/src/include/port/win32/grp.h
index 8b13789179..a5a4a25ab6 100644
--- a/src/include/port/win32/grp.h
+++ b/src/include/port/win32/grp.h
@@ -1 +1,3 @@
+/* $PostgreSQL$ */
+
diff --git a/src/include/port/win32/netdb.h b/src/include/port/win32/netdb.h
index 8b13789179..1730b1c341 100644
--- a/src/include/port/win32/netdb.h
+++ b/src/include/port/win32/netdb.h
@@ -1 +1,2 @@
+/* $PostgreSQL$ */
diff --git a/src/include/port/win32/netinet/in.h b/src/include/port/win32/netinet/in.h
index dc979c0537..1322661e49 100644
--- a/src/include/port/win32/netinet/in.h
+++ b/src/include/port/win32/netinet/in.h
@@ -1 +1,3 @@
+/* $PostgreSQL$ */
+
#include <sys/socket.h>
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index 0cb4510042..7c3b454f5c 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include <stdlib.h>
#include <string.h>
#include <errno.h>
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h
index cde99c9f3e..5b3ec19d94 100644
--- a/src/interfaces/ecpg/ecpglib/extern.h
+++ b/src/interfaces/ecpg/ecpglib/extern.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef _ECPG_LIB_EXTERN_H
#define _ECPG_LIB_EXTERN_H
diff --git a/src/interfaces/ecpg/include/datetime.h b/src/interfaces/ecpg/include/datetime.h
index b4108c5d2b..29cefba959 100644
--- a/src/interfaces/ecpg/include/datetime.h
+++ b/src/interfaces/ecpg/include/datetime.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef _ECPG_DATETIME_H
#define _ECPG_DATETIME_H
diff --git a/src/interfaces/ecpg/include/decimal.h b/src/interfaces/ecpg/include/decimal.h
index 80cef55d1e..0f13dd1747 100644
--- a/src/interfaces/ecpg/include/decimal.h
+++ b/src/interfaces/ecpg/include/decimal.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef _ECPG_DECIMAL_H
#define _ECPG_DECIMAL_H
diff --git a/src/interfaces/ecpg/include/ecpg_informix.h b/src/interfaces/ecpg/include/ecpg_informix.h
index 6b0b492642..c00914338d 100644
--- a/src/interfaces/ecpg/include/ecpg_informix.h
+++ b/src/interfaces/ecpg/include/ecpg_informix.h
@@ -1,5 +1,6 @@
/*
* This file contains stuff needed to be as compatible to Informix as possible.
+ * $PostgreSQL$
*/
#ifndef _ECPG_INFORMIX_H
#define _ECPG_INFORMIX_H
diff --git a/src/interfaces/ecpg/include/ecpgerrno.h b/src/interfaces/ecpg/include/ecpgerrno.h
index 87a30ef6ca..255ce352c1 100644
--- a/src/interfaces/ecpg/include/ecpgerrno.h
+++ b/src/interfaces/ecpg/include/ecpgerrno.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef _ECPG_ERRNO_H
#define _ECPG_ERRNO_H
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index 326c205159..c5d73c96e9 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -1,6 +1,7 @@
/*
* this is a small part of c.h since we don't want to leak all postgres
* definitions into ecpg programs
+ * $PostgreSQL$
*/
#ifndef _ECPGLIB_H
diff --git a/src/interfaces/ecpg/include/ecpgtype.h b/src/interfaces/ecpg/include/ecpgtype.h
index 6f521718a3..0db3df1d0e 100644
--- a/src/interfaces/ecpg/include/ecpgtype.h
+++ b/src/interfaces/ecpg/include/ecpgtype.h
@@ -4,6 +4,8 @@
*
* All types that can be handled for host variable declarations has to
* be handled eventually.
+ *
+ * $PostgreSQL$
*/
/*
diff --git a/src/interfaces/ecpg/include/pgtypes_date.h b/src/interfaces/ecpg/include/pgtypes_date.h
index 8a98c710d9..a9c670b31a 100644
--- a/src/interfaces/ecpg/include/pgtypes_date.h
+++ b/src/interfaces/ecpg/include/pgtypes_date.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef PGTYPES_DATETIME
#define PGTYPES_DATETIME
diff --git a/src/interfaces/ecpg/include/pgtypes_error.h b/src/interfaces/ecpg/include/pgtypes_error.h
index 4a1008adc3..29f55a273b 100644
--- a/src/interfaces/ecpg/include/pgtypes_error.h
+++ b/src/interfaces/ecpg/include/pgtypes_error.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#define PGTYPES_NUM_OVERFLOW 301
#define PGTYPES_NUM_BAD_NUMERIC 302
#define PGTYPES_NUM_DIVIDE_ZERO 303
diff --git a/src/interfaces/ecpg/include/pgtypes_interval.h b/src/interfaces/ecpg/include/pgtypes_interval.h
index 2abaf60b1d..d8e830dd99 100644
--- a/src/interfaces/ecpg/include/pgtypes_interval.h
+++ b/src/interfaces/ecpg/include/pgtypes_interval.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef PGTYPES_INTERVAL
#define PGTYPES_INTERVAL
diff --git a/src/interfaces/ecpg/include/pgtypes_numeric.h b/src/interfaces/ecpg/include/pgtypes_numeric.h
index 51b70a529b..77543c3b0a 100644
--- a/src/interfaces/ecpg/include/pgtypes_numeric.h
+++ b/src/interfaces/ecpg/include/pgtypes_numeric.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef PGTYPES_NUMERIC
#define PGTYPES_NUMERIC
diff --git a/src/interfaces/ecpg/include/pgtypes_timestamp.h b/src/interfaces/ecpg/include/pgtypes_timestamp.h
index 3965fa48bd..d69ca7c282 100644
--- a/src/interfaces/ecpg/include/pgtypes_timestamp.h
+++ b/src/interfaces/ecpg/include/pgtypes_timestamp.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef PGTYPES_TIMESTAMP
#define PGTYPES_TIMESTAMP
diff --git a/src/interfaces/ecpg/pgtypeslib/datetime.c b/src/interfaces/ecpg/pgtypeslib/datetime.c
index bf636ba240..997dfd7f54 100644
--- a/src/interfaces/ecpg/pgtypeslib/datetime.c
+++ b/src/interfaces/ecpg/pgtypeslib/datetime.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres_fe.h"
#include <time.h>
diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h
index f8eefa93f4..3cbfd25a14 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt.h
+++ b/src/interfaces/ecpg/pgtypeslib/dt.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef DT_H
#define DT_H
diff --git a/src/interfaces/ecpg/pgtypeslib/dt_common.c b/src/interfaces/ecpg/pgtypeslib/dt_common.c
index dc3f55c666..0df3d46d29 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt_common.c
+++ b/src/interfaces/ecpg/pgtypeslib/dt_common.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres_fe.h"
#include <time.h>
diff --git a/src/interfaces/ecpg/pgtypeslib/extern.h b/src/interfaces/ecpg/pgtypeslib/extern.h
index 689a3e8955..d1cf9b4768 100644
--- a/src/interfaces/ecpg/pgtypeslib/extern.h
+++ b/src/interfaces/ecpg/pgtypeslib/extern.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef __PGTYPES_COMMON_H__
#define __PGTYPES_COMMON_H__
diff --git a/src/interfaces/ecpg/pgtypeslib/interval.c b/src/interfaces/ecpg/pgtypeslib/interval.c
index fd915bb3dd..eaae5e24f3 100644
--- a/src/interfaces/ecpg/pgtypeslib/interval.c
+++ b/src/interfaces/ecpg/pgtypeslib/interval.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres_fe.h"
#include <time.h>
#include <math.h>
diff --git a/src/interfaces/ecpg/pgtypeslib/numeric.c b/src/interfaces/ecpg/pgtypeslib/numeric.c
index 8ba0a093ec..fc6f96da64 100644
--- a/src/interfaces/ecpg/pgtypeslib/numeric.c
+++ b/src/interfaces/ecpg/pgtypeslib/numeric.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres_fe.h"
#include <ctype.h>
#include <limits.h>
diff --git a/src/interfaces/ecpg/preproc/descriptor.c b/src/interfaces/ecpg/preproc/descriptor.c
index a89eec2780..d4266ff187 100644
--- a/src/interfaces/ecpg/preproc/descriptor.c
+++ b/src/interfaces/ecpg/preproc/descriptor.c
@@ -1,6 +1,8 @@
/*
* functions needed for descriptor handling
*
+ * $PostgreSQL$
+ *
* since descriptor might be either a string constant or a string var
* we need to check for a constant if we expect a constant
*/
diff --git a/src/interfaces/ecpg/preproc/extern.h b/src/interfaces/ecpg/preproc/extern.h
index 06cc74f204..28b69cc245 100644
--- a/src/interfaces/ecpg/preproc/extern.h
+++ b/src/interfaces/ecpg/preproc/extern.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifndef _ECPG_PREPROC_EXTERN_H
#define _ECPG_PREPROC_EXTERN_H
diff --git a/src/interfaces/ecpg/preproc/output.c b/src/interfaces/ecpg/preproc/output.c
index 06531e976d..f8b4766f1c 100644
--- a/src/interfaces/ecpg/preproc/output.c
+++ b/src/interfaces/ecpg/preproc/output.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "postgres_fe.h"
#include "extern.h"
diff --git a/src/interfaces/ecpg/test/dt_test.pgc b/src/interfaces/ecpg/test/dt_test.pgc
index cdd257f7fb..3840a7aba2 100644
--- a/src/interfaces/ecpg/test/dt_test.pgc
+++ b/src/interfaces/ecpg/test/dt_test.pgc
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/interfaces/ecpg/test/header_test.h b/src/interfaces/ecpg/test/header_test.h
index aacc8ba7ce..81649834cd 100644
--- a/src/interfaces/ecpg/test/header_test.h
+++ b/src/interfaces/ecpg/test/header_test.h
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include "stdlib.h"
static void
diff --git a/src/interfaces/ecpg/test/num_test.pgc b/src/interfaces/ecpg/test/num_test.pgc
index f3991ccc8a..5a2f7bb06e 100644
--- a/src/interfaces/ecpg/test/num_test.pgc
+++ b/src/interfaces/ecpg/test/num_test.pgc
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include <stdio.h>
#include <pgtypes_numeric.h>
#include <decimal.h>
diff --git a/src/interfaces/ecpg/test/perftest.pgc b/src/interfaces/ecpg/test/perftest.pgc
index 7fb22588c8..b0c84d7487 100644
--- a/src/interfaces/ecpg/test/perftest.pgc
+++ b/src/interfaces/ecpg/test/perftest.pgc
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
diff --git a/src/interfaces/libpq/libpqdll.c b/src/interfaces/libpq/libpqdll.c
index f145d3e0e4..48849c3f13 100644
--- a/src/interfaces/libpq/libpqdll.c
+++ b/src/interfaces/libpq/libpqdll.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#define WIN32_LEAN_AND_MEAN
#include <winsock.h>
#include <windows.h>
diff --git a/src/pl/tcl/modules/pltcl_delmod.in b/src/pl/tcl/modules/pltcl_delmod.in
index e65a6742e3..b0514ad4af 100644
--- a/src/pl/tcl/modules/pltcl_delmod.in
+++ b/src/pl/tcl/modules/pltcl_delmod.in
@@ -1,4 +1,6 @@
#! /bin/sh
+# $PostgreSQL$
+#
# Start tclsh \
exec @TCLSH@ "$0" "$@"
diff --git a/src/pl/tcl/modules/pltcl_listmod.in b/src/pl/tcl/modules/pltcl_listmod.in
index dbb93db73b..fd7ffa9a9c 100644
--- a/src/pl/tcl/modules/pltcl_listmod.in
+++ b/src/pl/tcl/modules/pltcl_listmod.in
@@ -1,4 +1,6 @@
#! /bin/sh
+# $PostgreSQL$
+#
# Start tclsh \
exec @TCLSH@ "$0" "$@"
diff --git a/src/port/crypt.c b/src/port/crypt.c
index 2cc11a6237..67edc97f59 100644
--- a/src/port/crypt.c
+++ b/src/port/crypt.c
@@ -1,3 +1,4 @@
+/* $PostgreSQL$ */
/* $NetBSD$ */
/*
diff --git a/src/port/getopt.c b/src/port/getopt.c
index 28a0d0a476..6059ebbbdc 100644
--- a/src/port/getopt.c
+++ b/src/port/getopt.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/* This is used by psql under Win32 */
/*
diff --git a/src/template/cygwin b/src/template/cygwin
index e649d88c1b..830750185b 100644
--- a/src/template/cygwin
+++ b/src/template/cygwin
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
SRCH_LIB="/usr/local/lib"
# This is required to link pg_dump because it finds pg_toupper() in
diff --git a/src/template/darwin b/src/template/darwin
index baf462baf6..9ddbbb7526 100644
--- a/src/template/darwin
+++ b/src/template/darwin
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
# Apple's cpp-precomp seems a tad broken, so don't use it
# (Note: on OS X before 10.2, you might need -traditional-cpp instead)
CC="$CC -no-cpp-precomp"
diff --git a/src/template/dgux b/src/template/dgux
index e69de29bb2..9ee8957f50 100644
--- a/src/template/dgux
+++ b/src/template/dgux
@@ -0,0 +1,3 @@
+# $PostgreSQL$
+
+
diff --git a/src/template/freebsd b/src/template/freebsd
index 718359e07c..47ffa945cf 100644
--- a/src/template/freebsd
+++ b/src/template/freebsd
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
case $host_cpu in
alpha*) CFLAGS="-O";; # alpha has problems with -O2
esac
diff --git a/src/template/hpux b/src/template/hpux
index 775c55a935..779c9ca7eb 100644
--- a/src/template/hpux
+++ b/src/template/hpux
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
if test "$GCC" != yes ; then
diff --git a/src/template/linux b/src/template/linux
index dfb391ea54..4b415ceb52 100644
--- a/src/template/linux
+++ b/src/template/linux
@@ -1,2 +1,4 @@
+# $PostgreSQL$
+
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="-D_GNU_SOURCE"
diff --git a/src/template/netbsd b/src/template/netbsd
index c45260ca13..324fe06c64 100644
--- a/src/template/netbsd
+++ b/src/template/netbsd
@@ -1,2 +1,3 @@
+# $PostgreSQL$
# tools/thread/thread_test must be run
diff --git a/src/template/nextstep b/src/template/nextstep
index d6b3c35e6c..347f7d16ab 100644
--- a/src/template/nextstep
+++ b/src/template/nextstep
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
AROPT=rc
SHARED_LIB=
DLSUFFIX=.o
diff --git a/src/template/osf b/src/template/osf
index e845cfecea..3cf1e905cc 100644
--- a/src/template/osf
+++ b/src/template/osf
@@ -1,3 +1,5 @@
+# $PostgreSQL$
+
if test "$GCC" != yes ; then
CC="$CC -std"
CFLAGS="-O -ieee"
diff --git a/src/test/bench/perquery b/src/test/bench/perquery
index e6f5c43c30..7898c6452b 100644
--- a/src/test/bench/perquery
+++ b/src/test/bench/perquery
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
egrep 'x = "|elapse' | \
awk 'BEGIN { x = 0; y = 0; z = 0; a = 0; } \
/.*elapse.*/ {x = $2 + x; y = $4 + y; z = $6 + z;} \
diff --git a/src/test/performance/sqls/inssimple b/src/test/performance/sqls/inssimple
index 5e95a0489d..1535a51090 100644
--- a/src/test/performance/sqls/inssimple
+++ b/src/test/performance/sqls/inssimple
@@ -1,4 +1,5 @@
+# $PostgreSQL$
#
# Transactions are unsupported by MySQL - so for insertion of
# 8192 rows, 1 INSERT per Xaction, we returned "Transactions unsupported"
diff --git a/src/test/regress/parallel_schedule b/src/test/regress/parallel_schedule
index fef609711b..607f7e19da 100644
--- a/src/test/regress/parallel_schedule
+++ b/src/test/regress/parallel_schedule
@@ -1,5 +1,6 @@
# ----------
# The first group of parallel test
+# $PostgreSQL$
# ----------
test: boolean char name varchar text int2 int4 int8 oid float4 float8 bit numeric
diff --git a/src/timezone/data/etcetera b/src/timezone/data/etcetera
index 431206ec3d..5e65587ddf 100644
--- a/src/timezone/data/etcetera
+++ b/src/timezone/data/etcetera
@@ -1,5 +1,7 @@
# @(#)etcetera 7.12
+# $PostgreSQL$
+#
# These entries are mostly present for historical reasons, so that
# people in areas not otherwise covered by the tz files could "zic -l"
# to a time zone that was right for their area. These days, the
diff --git a/src/timezone/data/europe b/src/timezone/data/europe
index ec6720a804..e4f0ed91b4 100644
--- a/src/timezone/data/europe
+++ b/src/timezone/data/europe
@@ -1,5 +1,7 @@
# @(#)europe 7.95
+# $PostgreSQL$
+#
# This data is by no means authoritative; if you think you know better,
# go ahead and edit the file (and please send any changes to
# [email protected] for general use in the future).
diff --git a/src/timezone/data/factory b/src/timezone/data/factory
index ba27c63269..ff4c272b2d 100644
--- a/src/timezone/data/factory
+++ b/src/timezone/data/factory
@@ -1,5 +1,7 @@
# @(#)factory 7.3
+# $PostgreSQL$
+
# For companies who don't want to put time zone specification in
# their installation procedures. When users run date, they'll get the message.
# Also useful for the "comp.sources" version.
diff --git a/src/timezone/data/iso3166.tab b/src/timezone/data/iso3166.tab
index 07b43fc7c4..6ba1752437 100644
--- a/src/timezone/data/iso3166.tab
+++ b/src/timezone/data/iso3166.tab
@@ -1,5 +1,7 @@
# ISO 3166 alpha-2 country codes
#
+# $PostgreSQL$
+#
# @(#)iso3166.tab 1.17
#
# From Paul Eggert (2004-06-14):
diff --git a/src/timezone/data/leapseconds b/src/timezone/data/leapseconds
index a1078837d7..828dea9193 100644
--- a/src/timezone/data/leapseconds
+++ b/src/timezone/data/leapseconds
@@ -2,6 +2,8 @@
# Allowance for leapseconds added to each timezone file.
+# $PostgreSQL$
+
# The International Earth Rotation Service periodically uses leap seconds
# to keep UTC to within 0.9 s of UT1
# (which measures the true angular orientation of the earth in space); see
diff --git a/src/tools/backend/index.html b/src/tools/backend/index.html
index db53174465..2828bfb6e0 100644
--- a/src/tools/backend/index.html
+++ b/src/tools/backend/index.html
@@ -1,3 +1,4 @@
+<!-- $PostgreSQL$ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
diff --git a/src/tools/ccsym b/src/tools/ccsym
index acac603e58..a0c7972c96 100755
--- a/src/tools/ccsym
+++ b/src/tools/ccsym
@@ -1,4 +1,7 @@
#!/bin/sh
+
+# $PostgreSQL$
+
trap "rm -f /tmp/$$.*" 0 1 2 3 15
cd /tmp
cat >$$.c <<EOF
diff --git a/src/tools/codelines b/src/tools/codelines
index c72cab442f..ae97b04177 100755
--- a/src/tools/codelines
+++ b/src/tools/codelines
@@ -1,4 +1,6 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
# This script is used to compute the total number of "C" lines in the release
# This should be run from the top of the CVS tree after a 'make distclean'
diff --git a/src/tools/copyright b/src/tools/copyright
index b848289118..a5525a3bd6 100755
--- a/src/tools/copyright
+++ b/src/tools/copyright
@@ -1,3 +1,7 @@
+#!/bin/sh
+
+# $PostgreSQL$
+
rgrep -l 'Copyright.*PostgreSQL Global Development Group' | while read FILE
do
pipe sed 's/^\(.*Copyright (c) [12][0-9][0-9][0-9]-\)[12][0-9][0-9][0-9]\(, PostgreSQL Global Development Group.*\)$/\12006\2/' $FILE
diff --git a/src/tools/entab/entab.c b/src/tools/entab/entab.c
index 455c4deba2..71d76d64df 100644
--- a/src/tools/entab/entab.c
+++ b/src/tools/entab/entab.c
@@ -2,6 +2,8 @@
** entab.c - add tabs to a text file
** by Bruce Momjian ([email protected])
**
+** $PostgreSQL$
+**
** version 1.3
**
** tabsize = 4
diff --git a/src/tools/entab/entab.man b/src/tools/entab/entab.man
index c6c2e7b4f4..357beaa16f 100644
--- a/src/tools/entab/entab.man
+++ b/src/tools/entab/entab.man
@@ -1,3 +1,4 @@
+.\" $PostgreSQL$
.TH ENTAB 1 local
.SH NAME
entab - tab processor
diff --git a/src/tools/entab/halt.c b/src/tools/entab/halt.c
index d39c9cc339..65e369bebe 100644
--- a/src/tools/entab/halt.c
+++ b/src/tools/entab/halt.c
@@ -2,6 +2,8 @@
**
** halt.c
**
+** $PostgreSQL$
+**
** This is used to print out error messages and exit
*/
diff --git a/src/tools/find_badmacros b/src/tools/find_badmacros
index 8a12b59bec..26248ff7c1 100755
--- a/src/tools/find_badmacros
+++ b/src/tools/find_badmacros
@@ -1,7 +1,10 @@
#!/bin/sh
+
# This script attempts to find bad ifdef's, i.e. ifdef's that use braces
# but not the do { ... } while (0) syntax
#
+# $PostgreSQL$
+#
# This is useful for running before pgindent
for FILE
diff --git a/src/tools/find_gt_lt b/src/tools/find_gt_lt
index 66919dd7ae..95e94af876 100755
--- a/src/tools/find_gt_lt
+++ b/src/tools/find_gt_lt
@@ -1,2 +1,6 @@
+#!/bin/sh
+
+# $PostgreSQL$
+
grep '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
grep '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml
diff --git a/src/tools/find_static b/src/tools/find_static
index f2b10e7a86..3c7b49b12a 100755
--- a/src/tools/find_static
+++ b/src/tools/find_static
@@ -1,4 +1,7 @@
#!/bin/sh
+
+# $PostgreSQL$
+
trap "rm -f /tmp/$$" 0 1 2 3 15
# This script finds functions that are either never called, or
diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index ff575fefa5..eb6c3292dc 100755
--- a/src/tools/find_typedef
+++ b/src/tools/find_typedef
@@ -1,4 +1,7 @@
#!/bin/sh
+
+# $PostgreSQL$
+
# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
#
diff --git a/src/tools/findoidjoins/make_oidjoins_check b/src/tools/findoidjoins/make_oidjoins_check
index b6a720a504..5061634c74 100755
--- a/src/tools/findoidjoins/make_oidjoins_check
+++ b/src/tools/findoidjoins/make_oidjoins_check
@@ -1,5 +1,7 @@
#! /bin/sh
+# $PostgreSQL$
+
# You first run findoidjoins on the template1 database, and send that
# output into this script to generate a list of SQL statements.
diff --git a/src/tools/make_ctags b/src/tools/make_ctags
index 7f7c8f55ee..40f59d48bc 100755
--- a/src/tools/make_ctags
+++ b/src/tools/make_ctags
@@ -1,4 +1,7 @@
#!/bin/sh
+
+# $PostgreSQL$
+
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./tags
diff --git a/src/tools/make_diff/README b/src/tools/make_diff/README
index c287133a00..a28f010938 100644
--- a/src/tools/make_diff/README
+++ b/src/tools/make_diff/README
@@ -1,3 +1,5 @@
+$PostgreSQL$
+
Bruce Momjian <[email protected]>
Here are some of the scripts I use to make development easier.
diff --git a/src/tools/make_diff/cporig b/src/tools/make_diff/cporig
index 0b188ac3e5..2687c7cca9 100755
--- a/src/tools/make_diff/cporig
+++ b/src/tools/make_diff/cporig
@@ -1,4 +1,7 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
+
for FILE
do
if [ ! -f "$FILE.orig" ]
diff --git a/src/tools/make_diff/difforig b/src/tools/make_diff/difforig
index a70b8bed4e..6d41bf6df3 100755
--- a/src/tools/make_diff/difforig
+++ b/src/tools/make_diff/difforig
@@ -1,4 +1,7 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
+
if [ "$#" -eq 0 ]
then APATH="."
else APATH="$1"
diff --git a/src/tools/make_diff/rmorig b/src/tools/make_diff/rmorig
index f6d0d4eff6..114539e766 100755
--- a/src/tools/make_diff/rmorig
+++ b/src/tools/make_diff/rmorig
@@ -1,4 +1,7 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
+
if [ "$#" -eq 0 ]
then APATH="."
else APATH="$1"
diff --git a/src/tools/make_etags b/src/tools/make_etags
index e81bdb6f9a..9f9e22bcbd 100755
--- a/src/tools/make_etags
+++ b/src/tools/make_etags
@@ -1,4 +1,7 @@
#!/bin/sh
+
+# $PostgreSQL$
+
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./TAGS
find `pwd`/ -type f -name '*.[chyl]' -print | \
diff --git a/src/tools/make_keywords b/src/tools/make_keywords
index dc16695129..629670633c 100755
--- a/src/tools/make_keywords
+++ b/src/tools/make_keywords
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
cat <<END
To get a list of keywords compared to SQL'92, take the keywords out of
backend/parser/keywords.c and tools/SQL_keywords.
diff --git a/src/tools/make_mkid b/src/tools/make_mkid
index ac71bd92b5..efaf75bc33 100755
--- a/src/tools/make_mkid
+++ b/src/tools/make_mkid
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|sed 's;//;/;g'`
diff --git a/src/tools/pgcvslog b/src/tools/pgcvslog
index 3e3ca13857..5e59b6327e 100755
--- a/src/tools/pgcvslog
+++ b/src/tools/pgcvslog
@@ -1,4 +1,7 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
+
# This utility is used to generate a compact list of changes
# for each release, bjm 2000-02-22
diff --git a/src/tools/pginclude/pgcompinclude b/src/tools/pginclude/pgcompinclude
index 4658d48b38..0a346b28ae 100755
--- a/src/tools/pginclude/pgcompinclude
+++ b/src/tools/pginclude/pgcompinclude
@@ -1,6 +1,7 @@
:
# report which #include files can not compile on their own
# takes -v option to display compile failure message and line numbers
+# $PostgreSQL$
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE
diff --git a/src/tools/pginclude/pgdefine b/src/tools/pginclude/pgdefine
index 953a29684a..b2127b0d6f 100755
--- a/src/tools/pginclude/pgdefine
+++ b/src/tools/pginclude/pgdefine
@@ -1,6 +1,8 @@
:
# create macro calls for all defines in the file
+# $PostgreSQL$
+
trap "rm -f /tmp/$$" 0 1 2 3 15
for FILE
do
diff --git a/src/tools/pginclude/pgfixinclude b/src/tools/pginclude/pgfixinclude
index d76710a062..de8e965e09 100755
--- a/src/tools/pginclude/pgfixinclude
+++ b/src/tools/pginclude/pgfixinclude
@@ -1,5 +1,6 @@
:
# change #include's to <> or ""
+# $PostgreSQL$
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print |
diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude
index 6504aad82a..6b24bbc93b 100755
--- a/src/tools/pginclude/pgrminclude
+++ b/src/tools/pginclude/pgrminclude
@@ -1,6 +1,8 @@
:
# remove extra #include's
+# $PostgreSQL$
+
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print |
grep -v '\./postgres.h' |
diff --git a/src/tools/pgindent/indent.bsd.patch b/src/tools/pgindent/indent.bsd.patch
index bb1ba73f77..257eeeb2de 100644
--- a/src/tools/pgindent/indent.bsd.patch
+++ b/src/tools/pgindent/indent.bsd.patch
@@ -1,3 +1,4 @@
+$PostgreSQL$
This patch contains several fixes to NetBSD's indent and should be
applied before using pgindent.
diff --git a/src/tools/pgindent/pgcppindent b/src/tools/pgindent/pgcppindent
index ee27cf5295..5ea0399bb4 100755
--- a/src/tools/pgindent/pgcppindent
+++ b/src/tools/pgindent/pgcppindent
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
trap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15
entab </dev/null >/dev/null
if [ "$?" -ne 0 ]
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 530c6d2703..80138c61a5 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
# Known bugs:
#
# Blank line is added after, seen as a function definition, no space
diff --git a/src/tools/pgindent/pgjindent b/src/tools/pgindent/pgjindent
index d4e3777cc8..5879137b94 100755
--- a/src/tools/pgindent/pgjindent
+++ b/src/tools/pgindent/pgjindent
@@ -1,5 +1,7 @@
#!/bin/sh
+# $PostgreSQL$
+
trap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15
entab </dev/null >/dev/null
if [ "$?" -ne 0 ]
diff --git a/src/tools/pgtest b/src/tools/pgtest
index bc28be2383..081093c412 100755
--- a/src/tools/pgtest
+++ b/src/tools/pgtest
@@ -1,4 +1,6 @@
-:
+#!/bin/sh
+
+# $PostgreSQL$
# This runs a build/initdb/regression test suite
#
diff --git a/src/tutorial/funcs.c b/src/tutorial/funcs.c
index a988ad431b..fa9efd85f0 100644
--- a/src/tutorial/funcs.c
+++ b/src/tutorial/funcs.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/******************************************************************************
These are user-defined functions that can be bound to a Postgres backend
and called by Postgres to execute SQL functions of the same name.
diff --git a/src/tutorial/funcs_new.c b/src/tutorial/funcs_new.c
index 9c63abaf14..8cde50894e 100644
--- a/src/tutorial/funcs_new.c
+++ b/src/tutorial/funcs_new.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
/******************************************************************************
These are user-defined functions that can be bound to a Postgres backend
and called by Postgres to execute SQL functions of the same name.
diff --git a/src/utils/dllinit.c b/src/utils/dllinit.c
index 3a0097d28e..6851b8e930 100644
--- a/src/utils/dllinit.c
+++ b/src/utils/dllinit.c
@@ -1,3 +1,5 @@
+/* $PostgreSQL$ */
+
#ifdef __CYGWIN__
#include <cygwin/version.h>
#endif