diff options
Diffstat (limited to 'src/backend/libpq')
-rw-r--r-- | src/backend/libpq/be-dumpdata.c | 9 | ||||
-rw-r--r-- | src/backend/libpq/be-fsstubs.c | 8 | ||||
-rw-r--r-- | src/backend/libpq/be-pqexec.c | 8 | ||||
-rw-r--r-- | src/backend/libpq/crypt.c | 3 | ||||
-rw-r--r-- | src/backend/libpq/hba.c | 6 | ||||
-rw-r--r-- | src/backend/libpq/password.c | 4 | ||||
-rw-r--r-- | src/backend/libpq/portal.c | 4 | ||||
-rw-r--r-- | src/backend/libpq/portalbuf.c | 3 | ||||
-rw-r--r-- | src/backend/libpq/pqcomm.c | 6 | ||||
-rw-r--r-- | src/backend/libpq/pqformat.c | 4 | ||||
-rw-r--r-- | src/backend/libpq/pqpacket.c | 4 | ||||
-rw-r--r-- | src/backend/libpq/util.c | 4 |
12 files changed, 12 insertions, 51 deletions
diff --git a/src/backend/libpq/be-dumpdata.c b/src/backend/libpq/be-dumpdata.c index 9b232e705da..326948faf0b 100644 --- a/src/backend/libpq/be-dumpdata.c +++ b/src/backend/libpq/be-dumpdata.c @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: be-dumpdata.c,v 1.26 1999/07/15 15:19:03 momjian Exp $ + * $Id: be-dumpdata.c,v 1.27 1999/07/15 22:39:13 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,13 +34,6 @@ #include <lib/dllist.h> #include <libpq/libpq.h> #include <access/heapam.h> -#include <access/htup.h> -#include <storage/buf.h> -#include <utils/memutils.h> -#include <fmgr.h> -#include <utils/exc.h> -#include <utils/syscache.h> -#include <catalog/pg_type.h> #include <catalog/catalog.h> #include <access/printtup.h> diff --git a/src/backend/libpq/be-fsstubs.c b/src/backend/libpq/be-fsstubs.c index 871a7923a3e..25e87aae642 100644 --- a/src/backend/libpq/be-fsstubs.c +++ b/src/backend/libpq/be-fsstubs.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.36 1999/07/15 15:19:04 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.37 1999/07/15 22:39:13 momjian Exp $ * * NOTES * This should be moved to a more appropriate place. It is here @@ -37,14 +37,8 @@ #include <postgres.h> -#include <lib/dllist.h> -#include <libpq/libpq.h> #include <libpq/libpq-fs.h> -#include <nodes/nodes.h> -#include <utils/memutils.h> -#include <lib/fstack.h> #include <catalog/pg_shadow.h> /* for superuser() */ -#include <storage/fd.h> /* for O_ */ #include <storage/large_object.h> #include <libpq/be-fsstubs.h> diff --git a/src/backend/libpq/be-pqexec.c b/src/backend/libpq/be-pqexec.c index 4b035311c39..ea48d6ff62c 100644 --- a/src/backend/libpq/be-pqexec.c +++ b/src/backend/libpq/be-pqexec.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.20 1999/02/13 23:15:41 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.21 1999/07/15 22:39:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -22,17 +22,11 @@ */ #include <postgres.h> -#include <nodes/pg_list.h> -#include <tcop/dest.h> #include <tcop/fastpath.h> #include <tcop/tcopprot.h> -#include <lib/dllist.h> #include <libpq/libpq.h> -#include <fmgr.h> -#include <utils/exc.h> #include <utils/builtins.h> #ifndef HAVE_MEMMOVE -#include <regex/utils.h> #else #include <string.h> #endif diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c index 86f5ef2a997..a1073fa357c 100644 --- a/src/backend/libpq/crypt.c +++ b/src/backend/libpq/crypt.c @@ -9,7 +9,7 @@ * Dec 17, 1997 - Todd A. Brandys * Orignal Version Completed. * - * $Id: crypt.c,v 1.20 1999/07/15 15:19:05 momjian Exp $ + * $Id: crypt.c,v 1.21 1999/07/15 22:39:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,7 +26,6 @@ #include "libpq/crypt.h" #ifdef HAVE_CRYPT_H -#include <crypt.h> #endif char **pwd_cache = NULL; diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index dd64971c99d..b6fa91e6265 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -5,7 +5,7 @@ * wherein you authenticate a user by seeing what IP address the system * says he comes from and possibly using ident). * - * $Id: hba.c,v 1.43 1999/05/25 16:08:59 momjian Exp $ + * $Id: hba.c,v 1.44 1999/07/15 22:39:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,10 +23,6 @@ #include <postgres.h> #include <miscadmin.h> #include <libpq/libpq.h> -#include <libpq/pqcomm.h> -#include <libpq/hba.h> -#include <port/inet_aton.h> /* For inet_aton() */ -#include <storage/fd.h> /* Some standard C libraries, including GNU, have an isblank() function. Others, including Solaris, do not. So we have our own. diff --git a/src/backend/libpq/password.c b/src/backend/libpq/password.c index 98c05d30749..1dd93829984 100644 --- a/src/backend/libpq/password.c +++ b/src/backend/libpq/password.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1994, Regents of the University of California * - * $Id: password.c,v 1.21 1999/05/25 16:09:00 momjian Exp $ + * $Id: password.c,v 1.22 1999/07/15 22:39:14 momjian Exp $ * */ @@ -9,11 +9,9 @@ #include <miscadmin.h> #include <libpq/password.h> #include <libpq/libpq.h> -#include <storage/fd.h> #include <string.h> #include <unistd.h> #ifdef HAVE_CRYPT_H -#include <crypt.h> #endif int diff --git a/src/backend/libpq/portal.c b/src/backend/libpq/portal.c index 6f7dca5cb5e..7a7f1dbfc90 100644 --- a/src/backend/libpq/portal.c +++ b/src/backend/libpq/portal.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: portal.c,v 1.22 1999/05/25 16:09:01 momjian Exp $ + * $Id: portal.c,v 1.23 1999/07/15 22:39:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -55,9 +55,7 @@ #include <postgres.h> -#include <lib/dllist.h> #include <libpq/libpq.h> /* where the declarations go */ -#include <utils/exc.h> /* ---------------------------------------------------------------- diff --git a/src/backend/libpq/portalbuf.c b/src/backend/libpq/portalbuf.c index 19e4b2dc637..81e1fea503f 100644 --- a/src/backend/libpq/portalbuf.c +++ b/src/backend/libpq/portalbuf.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.16 1999/06/19 05:00:27 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.17 1999/07/15 22:39:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,6 @@ #include <postgres.h> #include <libpq/libpq.h> /* where the declarations go */ -#include <utils/exc.h> PortalEntry **portals = (PortalEntry **) NULL; size_t portals_array_size = 0; diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c index 1c9f7c29458..5bff53e54f3 100644 --- a/src/backend/libpq/pqcomm.c +++ b/src/backend/libpq/pqcomm.c @@ -28,7 +28,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.c,v 1.73 1999/07/07 17:17:47 momjian Exp $ + * $Id: pqcomm.c,v 1.74 1999/07/15 22:39:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -81,10 +81,6 @@ #include "libpq/libpq.h" /* where my declarations go */ #include "miscadmin.h" -#include "libpq/pqsignal.h" -#include "libpq/auth.h" -#include "storage/ipc.h" -#include "utils/trace.h" #ifndef SOMAXCONN #define SOMAXCONN 5 /* from Linux listen(2) man page */ diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c index 529b3115bdd..16112bfdf00 100644 --- a/src/backend/libpq/pqformat.c +++ b/src/backend/libpq/pqformat.c @@ -15,7 +15,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pqformat.c,v 1.4 1999/05/25 16:09:02 momjian Exp $ + * $Id: pqformat.c,v 1.5 1999/07/15 22:39:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -48,11 +48,9 @@ #include "libpq/pqformat.h" #include "libpq/libpq.h" #ifdef MULTIBYTE -#include "mb/pg_wchar.h" #endif #include <string.h> #ifdef HAVE_ENDIAN_H -#include <endian.h> #endif #ifndef BYTE_ORDER diff --git a/src/backend/libpq/pqpacket.c b/src/backend/libpq/pqpacket.c index 159ebd9f4b0..ec516026bfb 100644 --- a/src/backend/libpq/pqpacket.c +++ b/src/backend/libpq/pqpacket.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.19 1999/02/13 23:15:47 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.20 1999/07/15 22:39:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -24,8 +24,6 @@ #include <errno.h> #include <postgres.h> -#include <miscadmin.h> -#include <storage/ipc.h> #include <libpq/libpq.h> diff --git a/src/backend/libpq/util.c b/src/backend/libpq/util.c index 50c2846815d..9c46209f435 100644 --- a/src/backend/libpq/util.c +++ b/src/backend/libpq/util.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: util.c,v 1.9 1999/05/25 16:09:03 momjian Exp $ + * $Id: util.c,v 1.10 1999/07/15 22:39:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,9 +21,7 @@ #include <string.h> #include <postgres.h> -#include <lib/dllist.h> #include <libpq/libpq.h> /* where the declarations go */ -#include <utils/exc.h> /* ---------------- |