diff --git a/contrib/btree_gist/btree_numeric.c b/contrib/btree_gist/btree_numeric.c index a6a03c8995bf2f262b3df94e19db2cd7dc28afce..639b575cb3f7fa4a1afe1a839f8c26eb969a47d0 100644 --- a/contrib/btree_gist/btree_numeric.c +++ b/contrib/btree_gist/btree_numeric.c @@ -1,7 +1,8 @@ +#include "btree_gist.h" + #include <math.h> #include <float.h> -#include "btree_gist.h" #include "btree_utils_var.h" #include "utils/builtins.h" #include "utils/numeric.h" diff --git a/contrib/btree_gist/btree_utils_num.h b/contrib/btree_gist/btree_utils_num.h index 1ea022e90f55d02086b8f0a11955ac2c7f78f92f..dcaa94bbeeee4b4b092ca0dce3c2d42cbd15bea3 100644 --- a/contrib/btree_gist/btree_utils_num.h +++ b/contrib/btree_gist/btree_utils_num.h @@ -1,11 +1,11 @@ #ifndef __BTREE_UTILS_NUM_H__ #define __BTREE_UTILS_NUM_H__ +#include "btree_gist.h" + #include <math.h> #include <float.h> -#include "btree_gist.h" - typedef char GBT_NUMKEY; /* Better readable key */ diff --git a/contrib/btree_gist/btree_utils_var.c b/contrib/btree_gist/btree_utils_var.c index 1a6f1fdadfe4bef3ab1834f144684aeebf6a96b5..1f5ea126920a19e95bbd62759451df271bc0d206 100644 --- a/contrib/btree_gist/btree_utils_var.c +++ b/contrib/btree_gist/btree_utils_var.c @@ -1,8 +1,9 @@ +#include "btree_gist.h" + #include <math.h> #include <limits.h> #include <float.h> -#include "btree_gist.h" #include "btree_utils_var.h" #include "utils/pg_locale.h" #include "utils/builtins.h" diff --git a/contrib/btree_gist/btree_utils_var.h b/contrib/btree_gist/btree_utils_var.h index 21a6cbd8e273b6019d76e075de2d1e2af6dd34fd..0c723e91ac31e92ca4e11e8147edc10de10c9cbc 100644 --- a/contrib/btree_gist/btree_utils_var.h +++ b/contrib/btree_gist/btree_utils_var.h @@ -1,10 +1,10 @@ #ifndef __BTREE_UTILS_VAR_H__ #define __BTREE_UTILS_VAR_H__ -#include "mb/pg_wchar.h" - #include "btree_gist.h" +#include "mb/pg_wchar.h" + /* Variable length key */ typedef bytea GBT_VARKEY; diff --git a/contrib/chkpass/chkpass.c b/contrib/chkpass/chkpass.c index 04591bd154de2ad6bbe5595491abc19f5b600d4e..0842291eaf721825b88d5d29db5f0628dfcc74b9 100644 --- a/contrib/chkpass/chkpass.c +++ b/contrib/chkpass/chkpass.c @@ -4,14 +4,12 @@ * darcy@druid.net * http://www.druid.net/darcy/ * - * $PostgreSQL: pgsql/contrib/chkpass/chkpass.c,v 1.16 2006/05/30 22:12:12 tgl Exp $ + * $PostgreSQL: pgsql/contrib/chkpass/chkpass.c,v 1.17 2006/07/14 05:28:27 tgl Exp $ * best viewed with tabs set to 4 */ #include "postgres.h" -#include <stdio.h> -#include <string.h> #include <time.h> #include <unistd.h> #ifdef HAVE_CRYPT_H diff --git a/contrib/fuzzystrmatch/dmetaphone.c b/contrib/fuzzystrmatch/dmetaphone.c index 3fe247e9221407811728a63bc2c79330a40163e5..ee1944c3930bbb6a18471b37cffd31a6805d73cf 100644 --- a/contrib/fuzzystrmatch/dmetaphone.c +++ b/contrib/fuzzystrmatch/dmetaphone.c @@ -1,7 +1,7 @@ /* * This is a port of the Double Metaphone algorithm for use in PostgreSQL. * - * $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.7 2006/03/11 04:38:29 momjian Exp $ + * $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.8 2006/07/14 05:28:27 tgl Exp $ * * Double Metaphone computes 2 "sounds like" strings - a primary and an * alternate. In most cases they are the same, but for foreign names @@ -50,8 +50,8 @@ /* - * $Revision: 1.7 $ - * $Id: dmetaphone.c,v 1.7 2006/03/11 04:38:29 momjian Exp $ + * $Revision: 1.8 $ + * $Id: dmetaphone.c,v 1.8 2006/07/14 05:28:27 tgl Exp $ */ @@ -106,8 +106,8 @@ The remaining code is authored by Andrew Dunstan <amdunstan@ncshp.org> and #ifndef DMETAPHONE_MAIN #include "postgres.h" + #include "fmgr.h" -#include "utils/elog.h" /* turn off assertions for embedded function */ #define NDEBUG diff --git a/contrib/pg_trgm/trgm.h b/contrib/pg_trgm/trgm.h index d6ba0405053625a9cdad3e4dabfb3e4c84c5b468..b7674c52b583c35c299a81ceb46ab9962d35b33c 100644 --- a/contrib/pg_trgm/trgm.h +++ b/contrib/pg_trgm/trgm.h @@ -6,8 +6,6 @@ #include "access/gist.h" #include "access/itup.h" #include "utils/builtins.h" -#include "utils/elog.h" -#include "utils/palloc.h" #include "storage/bufpage.h" /* options */ diff --git a/contrib/tsearch2/common.c b/contrib/tsearch2/common.c index 35fb9ffcb8a78555f236379524f7cbdffdfc886c..6192821344370785bc6d1e00e978894956875e85 100644 --- a/contrib/tsearch2/common.c +++ b/contrib/tsearch2/common.c @@ -1,6 +1,5 @@ #include "postgres.h" -#include "postgres.h" #include "fmgr.h" #include "catalog/pg_namespace.h" #include "catalog/pg_proc.h" diff --git a/contrib/tsearch2/gendict/dict_snowball.c.IN b/contrib/tsearch2/gendict/dict_snowball.c.IN index 6a0fce9a3e697c9ce9db12ddf32deffdcc904195..7136ee19ddc7187a79d446379d1fe0cace0ae193 100644 --- a/contrib/tsearch2/gendict/dict_snowball.c.IN +++ b/contrib/tsearch2/gendict/dict_snowball.c.IN @@ -1,13 +1,10 @@ -/* $PostgreSQL: pgsql/contrib/tsearch2/gendict/dict_snowball.c.IN,v 1.4 2006/03/11 04:38:30 momjian Exp $ */ +/* $PostgreSQL: pgsql/contrib/tsearch2/gendict/dict_snowball.c.IN,v 1.5 2006/07/14 05:28:27 tgl Exp $ */ /* * example of Snowball dictionary * http://snowball.tartarus.org/ * Teodor Sigaev <teodor@sigaev.ru> */ -#include <stdlib.h> -#include <string.h> - #include "postgres.h" #include "dict.h" diff --git a/contrib/tsearch2/gendict/dict_tmpl.c.IN b/contrib/tsearch2/gendict/dict_tmpl.c.IN index 694b7363e08492ce769c2d6c97d5b724bc6f13b7..a47720aa100899b219001999fbb1a64d3deece67 100644 --- a/contrib/tsearch2/gendict/dict_tmpl.c.IN +++ b/contrib/tsearch2/gendict/dict_tmpl.c.IN @@ -1,13 +1,9 @@ -/* $PostgreSQL: pgsql/contrib/tsearch2/gendict/dict_tmpl.c.IN,v 1.5 2006/03/11 04:38:30 momjian Exp $ */ +/* $PostgreSQL: pgsql/contrib/tsearch2/gendict/dict_tmpl.c.IN,v 1.6 2006/07/14 05:28:27 tgl Exp $ */ /* * example of dictionary * Teodor Sigaev <teodor@sigaev.ru> */ -#include <errno.h> -#include <stdlib.h> -#include <string.h> - #include "postgres.h" #include "dict.h" diff --git a/contrib/tsearch2/ispell/regis.c b/contrib/tsearch2/ispell/regis.c index 20b6bddecf658afaf570d09e291bb6cfcb099e4a..4be863431d1bd895a89665fd94d56fb47f5e41d9 100644 --- a/contrib/tsearch2/ispell/regis.c +++ b/contrib/tsearch2/ispell/regis.c @@ -1,7 +1,3 @@ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - #include "regis.h" #include "ts_locale.h" #include "common.h" diff --git a/contrib/tsearch2/ispell/spell.c b/contrib/tsearch2/ispell/spell.c index 28f38eefd32b71aaa85aeee5c5987f46686e1eb8..4e199f4bc07a6cc5f18494a7abd827ac4866661c 100644 --- a/contrib/tsearch2/ispell/spell.c +++ b/contrib/tsearch2/ispell/spell.c @@ -1,10 +1,7 @@ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <ctype.h> - #include "postgres.h" +#include <ctype.h> + #include "spell.h" #include "common.h" #include "ts_locale.h" diff --git a/contrib/tsearch2/ispell/spell.h b/contrib/tsearch2/ispell/spell.h index fe79888bf3ec00b6fd09e0d1b7c6d634edc50c0e..5734881947e9b6a1309108783a0920b926b3e323 100644 --- a/contrib/tsearch2/ispell/spell.h +++ b/contrib/tsearch2/ispell/spell.h @@ -1,9 +1,11 @@ #ifndef __SPELL_H__ #define __SPELL_H__ +#include "c.h" + #include <sys/types.h> + #include "regex/regex.h" -#include "c.h" #include "regis.h" #include "dict.h" diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c index 528408aae6b88ac613824a87cebe8c60fccc6dd3..a4fa7592502f575b840ff8d0394fc96dacc72883 100644 --- a/src/backend/executor/nodeSubplan.c +++ b/src/backend/executor/nodeSubplan.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeSubplan.c,v 1.77 2006/07/13 16:49:15 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeSubplan.c,v 1.78 2006/07/14 05:28:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -17,10 +17,10 @@ * ExecInitSubPlan - initialize a subselect * ExecEndSubPlan - shut down a subselect */ -#include <math.h> - #include "postgres.h" +#include <math.h> + #include "access/heapam.h" #include "executor/executor.h" #include "executor/nodeSubplan.h" diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index bc708a4509daff79423170835965a513d93f364b..45b87f97161b0dea6fc19ad8944ceda0b2564f6d 100644 --- a/src/backend/libpq/auth.c +++ b/src/backend/libpq/auth.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.137 2006/07/13 16:49:15 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.138 2006/07/14 05:28:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -20,7 +20,6 @@ #if defined(HAVE_STRUCT_CMSGCRED) || defined(HAVE_STRUCT_FCRED) || defined(HAVE_STRUCT_SOCKCRED) #include <sys/uio.h> #include <sys/ucred.h> -#include <errno.h> #endif #include <netinet/in.h> #include <arpa/inet.h> diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c index a7700370e0e6a486c2db15cd5651834604c9bd8a..de672cc868b4ae455f82d97c76e9610e2f6ec8cf 100644 --- a/src/backend/libpq/pqcomm.c +++ b/src/backend/libpq/pqcomm.c @@ -30,7 +30,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.185 2006/07/13 16:49:15 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.186 2006/07/14 05:28:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -66,7 +66,6 @@ #include "postgres.h" #include <signal.h> -#include <errno.h> #include <fcntl.h> #include <grp.h> #include <unistd.h> diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c index aead05bbde31374f2178d03b214bf9bb6c3f0893..0a2589fdb4d20f619304d63d601c77cabc67f832 100644 --- a/src/backend/libpq/pqformat.c +++ b/src/backend/libpq/pqformat.c @@ -24,7 +24,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/libpq/pqformat.c,v 1.41 2006/03/05 15:58:27 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/pqformat.c,v 1.42 2006/07/14 05:28:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -69,7 +69,6 @@ #include "postgres.h" -#include <errno.h> #include <sys/param.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/src/backend/port/dynloader/aix.c b/src/backend/port/dynloader/aix.c index 3ace7fc39153b7b50795ac830aa884e2d081bad1..64aca56ee2869a0c1ddbc049c6ea32e138a98dcb 100644 --- a/src/backend/port/dynloader/aix.c +++ b/src/backend/port/dynloader/aix.c @@ -6,7 +6,6 @@ #include "postgres.h" -#include <errno.h> #include "sys/ldr.h" #include <a.out.h> #include "ldfcn.h" diff --git a/src/backend/port/ipc_test.c b/src/backend/port/ipc_test.c index 1ac75daa71e7fd089a4357e931cde81ab20e0a28..46d507ccce752be26288cd18314eba7082d67bab 100644 --- a/src/backend/port/ipc_test.c +++ b/src/backend/port/ipc_test.c @@ -21,13 +21,12 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.20 2006/03/05 15:58:34 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.21 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <unistd.h> #include "miscadmin.h" diff --git a/src/backend/port/posix_sema.c b/src/backend/port/posix_sema.c index 90584aa6b619add7c93785bb71c1e5e0800e118d..2f0c84c1a08af99364cfb7c017dbe1b365badb14 100644 --- a/src/backend/port/posix_sema.c +++ b/src/backend/port/posix_sema.c @@ -11,13 +11,12 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/posix_sema.c,v 1.16 2006/03/05 15:58:35 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/posix_sema.c,v 1.17 2006/07/14 05:28:27 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> diff --git a/src/backend/port/sysv_sema.c b/src/backend/port/sysv_sema.c index 0fc4e500e67e316e97d5ffaaa7bec5ffa0b45452..74620d8f1f4e60fcdd4f33b5fe49c80700220d30 100644 --- a/src/backend/port/sysv_sema.c +++ b/src/backend/port/sysv_sema.c @@ -8,13 +8,12 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/sysv_sema.c,v 1.19 2006/03/05 15:58:35 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/sysv_sema.c,v 1.20 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <signal.h> #include <unistd.h> #include <sys/file.h> diff --git a/src/backend/port/sysv_shmem.c b/src/backend/port/sysv_shmem.c index f58ae558309e64246ab6429e0dc7bcc1bf2c1da1..f3ff878db612ddf2744f4652c9a70b9a16d1b925 100644 --- a/src/backend/port/sysv_shmem.c +++ b/src/backend/port/sysv_shmem.c @@ -10,13 +10,12 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.46 2006/03/05 15:58:35 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.47 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <signal.h> #include <unistd.h> #include <sys/file.h> diff --git a/src/backend/port/win32/shmem.c b/src/backend/port/win32/shmem.c index cbc02d4b83dcabcd76f2bf9f371405dc39953d7b..6f7a661d4e34bf3c25ecf8bad133879d58816bf2 100644 --- a/src/backend/port/win32/shmem.c +++ b/src/backend/port/win32/shmem.c @@ -6,16 +6,13 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/win32/shmem.c,v 1.12 2006/03/05 15:58:35 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/win32/shmem.c,v 1.13 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <stdio.h> -#include <errno.h> - static DWORD s_segsize = 0; /* Detach from a shared mem area based on its address */ diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c index 969ffd30657ab60342bf0996ffb7666bc194245c..7609628434545e3fb8f515286618d09ff0225c15 100644 --- a/src/backend/storage/file/buffile.c +++ b/src/backend/storage/file/buffile.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/file/buffile.c,v 1.23 2006/03/05 15:58:37 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/file/buffile.c,v 1.24 2006/07/14 05:28:28 tgl Exp $ * * NOTES: * @@ -34,8 +34,6 @@ #include "postgres.h" -#include <errno.h> - #include "storage/fd.h" #include "storage/buffile.h" diff --git a/src/backend/storage/freespace/freespace.c b/src/backend/storage/freespace/freespace.c index 0ae3ef6319123d0188d5c40823051d9df33b4406..6ddcfecc665004fce697f8ddb05e6963c36af721 100644 --- a/src/backend/storage/freespace/freespace.c +++ b/src/backend/storage/freespace/freespace.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.52 2006/03/05 15:58:37 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.53 2006/07/14 05:28:28 tgl Exp $ * * * NOTES: @@ -58,7 +58,6 @@ */ #include "postgres.h" -#include <errno.h> #include <limits.h> #include <math.h> #include <unistd.h> diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c index a90722520c4be86f80922c1ca091498740410c30..515e2da067ed115b7f4415e9ee3ffa542b625d44 100644 --- a/src/backend/storage/ipc/ipc.c +++ b/src/backend/storage/ipc/ipc.c @@ -13,13 +13,12 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.93 2006/03/05 15:58:37 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.94 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <signal.h> #include <unistd.h> diff --git a/src/backend/storage/smgr/md.c b/src/backend/storage/smgr/md.c index 95e81f1a4c05b7ae31428de1929dd7d7fe5f5869..928b64410ef51ea852da313d1a54074d92158cd3 100644 --- a/src/backend/storage/smgr/md.c +++ b/src/backend/storage/smgr/md.c @@ -8,13 +8,12 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/smgr/md.c,v 1.120 2006/03/05 15:58:39 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/smgr/md.c,v 1.121 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" -#include <errno.h> #include <unistd.h> #include <fcntl.h> #include <sys/file.h> diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c index c02ae2a172c40beee1b4d57ef85be6a0f69c48e9..b5478ac3373054493fde06eb84badf0da3c4328c 100644 --- a/src/backend/utils/adt/datetime.c +++ b/src/backend/utils/adt/datetime.c @@ -8,14 +8,13 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.167 2006/06/07 22:32:31 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.168 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" #include <ctype.h> -#include <errno.h> #include <float.h> #include <limits.h> #include <math.h> diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index 132e6a11e4588e7da29104fdc861472376c7473c..f395b61e88629c89c56b72245a376a6d0cd75f00 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.125 2006/06/07 22:24:44 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.126 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,6 @@ #include "postgres.h" #include <ctype.h> -#include <errno.h> #include <float.h> #include <math.h> #include <limits.h> diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c index 1407ad8662985e57bcb30838d5ec474659fb85b9..fb15a6222fcc53c21208c5e49129a6ebbdf6b98b 100644 --- a/src/backend/utils/adt/numeric.c +++ b/src/backend/utils/adt/numeric.c @@ -14,7 +14,7 @@ * Copyright (c) 1998-2006, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/numeric.c,v 1.93 2006/03/10 20:15:26 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/numeric.c,v 1.94 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -25,7 +25,6 @@ #include <float.h> #include <limits.h> #include <math.h> -#include <errno.h> #include "catalog/pg_type.h" #include "libpq/pqformat.h" diff --git a/src/backend/utils/adt/pg_lzcompress.c b/src/backend/utils/adt/pg_lzcompress.c index dc3708deb3d76a2134b5d0e48aba523fb3982e1a..962d6edaaa3df9eae02822860346ea7a9a08e297 100644 --- a/src/backend/utils/adt/pg_lzcompress.c +++ b/src/backend/utils/adt/pg_lzcompress.c @@ -1,7 +1,7 @@ /* ---------- * pg_lzcompress.c - * - * $PostgreSQL: pgsql/src/backend/utils/adt/pg_lzcompress.c,v 1.21 2005/11/22 18:17:23 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/pg_lzcompress.c,v 1.22 2006/07/14 05:28:28 tgl Exp $ * * This is an implementation of LZ compression for PostgreSQL. * It uses a simple history table and generates 2-3 byte tags @@ -175,7 +175,6 @@ #include <unistd.h> #include <fcntl.h> -#include <errno.h> #include "utils/pg_lzcompress.h" diff --git a/src/backend/utils/adt/tid.c b/src/backend/utils/adt/tid.c index d44f5aa3725790ac2f665aeeaf2ced7e06148ac0..658108f56c21e09bed4a582289d8da2fa153fd52 100644 --- a/src/backend/utils/adt/tid.c +++ b/src/backend/utils/adt/tid.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/tid.c,v 1.52 2006/03/05 15:58:44 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/tid.c,v 1.53 2006/07/14 05:28:28 tgl Exp $ * * NOTES * input routine largely stolen from boxin(). @@ -17,7 +17,6 @@ */ #include "postgres.h" -#include <errno.h> #include <math.h> #include <limits.h> diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 6bc0b73d08e297c5f2854a5eaa1bfff6ad12426e..d5a5230a8a6f0ca98994c5bcacb431c1c90ca171 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.111 2006/06/11 23:06:00 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.112 2006/07/14 05:28:28 tgl Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -12,7 +12,6 @@ #include "help.h" #include <signal.h> -#include <errno.h> #ifndef WIN32 #ifdef HAVE_PWD_H diff --git a/src/bin/psql/mainloop.h b/src/bin/psql/mainloop.h index eedb48f3e70cd1ea77d843fb814574b9f40fb913..90814c30a7e1b93b137b8187c643813b6962e5cb 100644 --- a/src/bin/psql/mainloop.h +++ b/src/bin/psql/mainloop.h @@ -3,13 +3,12 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/mainloop.h,v 1.19 2006/06/14 16:49:02 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/psql/mainloop.h,v 1.20 2006/07/14 05:28:28 tgl Exp $ */ #ifndef MAINLOOP_H #define MAINLOOP_H #include "postgres_fe.h" -#include <stdio.h> int MainLoop(FILE *source); diff --git a/src/interfaces/ecpg/ecpglib/error.c b/src/interfaces/ecpg/ecpglib/error.c index df131ffa6936a7455fcbe04ca2b94a2bc822be16..935452b46dfb7a4d04bec9f7df92e7a0f8081b37 100644 --- a/src/interfaces/ecpg/ecpglib/error.c +++ b/src/interfaces/ecpg/ecpglib/error.c @@ -1,10 +1,8 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.12 2006/03/17 15:46:13 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.13 2006/07/14 05:28:28 tgl Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" -#include <stdio.h> - #include "ecpgerrno.h" #include "ecpgtype.h" #include "ecpglib.h" diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c index 348b652f8ac39ebb137f7ce8dd8094527f66d8ba..e2bd5a68f3344f3c9cb2ad5ec0b60afb3fb9c587 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.51 2006/07/05 10:49:56 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.52 2006/07/14 05:28:28 tgl Exp $ */ /* * The aim is to get a simpler inteface to the database routines. @@ -16,7 +16,6 @@ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" -#include <stdio.h> #include <locale.h> #include "pg_type.h" diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index a835a1da6969dfa847ad1ae1d4d12dfa9a22bf14..ee20840581b1f1bc4054096c517b077726733e08 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.146 2006/05/11 19:15:36 tgl Exp $ + * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.147 2006/07/14 05:28:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,6 @@ #include <ctype.h> #include <sys/types.h> #include <limits.h> -#include <errno.h> #include "extern.h" diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index 011e57120c031703b4f1eaf313058067dee76a73..2c76dfdde36dea8bf0187260d7bb0b3b69c09d94 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -23,14 +23,13 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.128 2006/06/07 22:24:46 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.129 2006/07/14 05:28:29 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres_fe.h" -#include <errno.h> #include <signal.h> #include <time.h> diff --git a/src/interfaces/libpq/fe-protocol2.c b/src/interfaces/libpq/fe-protocol2.c index 3cd5be70c9ae3ca703def1d58384ee062c57d296..101d9595f7fecbc595e29f179e8e59b8b6204cb3 100644 --- a/src/interfaces/libpq/fe-protocol2.c +++ b/src/interfaces/libpq/fe-protocol2.c @@ -8,13 +8,12 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.24 2006/07/14 04:59:30 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.25 2006/07/14 05:28:29 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres_fe.h" -#include <errno.h> #include <ctype.h> #include <fcntl.h> diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c index 65de3c0dfceccb6792dc14bd17cf354e5900d1fe..8d369695ccdb4ba8f14751e00a3dbc46be2cf2eb 100644 --- a/src/timezone/pgtz.c +++ b/src/timezone/pgtz.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.42 2006/07/14 04:59:30 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.43 2006/07/14 05:28:29 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -24,7 +24,6 @@ #include "storage/fd.h" #include "tzfile.h" #include "utils/datetime.h" -#include "utils/elog.h" #include "utils/guc.h" #include "utils/hsearch.h"