summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/common.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-27 03:57:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-27 03:57:34 +0000
commit039dfbfd5d29e11da553f4a77a49ca52eafe8217 (patch)
tree2fecf592610135b5679c6e02acb5744efd5a099f /src/bin/pg_dump/common.c
parent73b0300b2a9c170f67f5202f5003be10b529e0f5 (diff)
Reduce the need for frontend programs to include "postgres.h" by refactoring
inclusions in src/include/catalog/*.h files. The main idea here is to push function declarations for src/backend/catalog/*.c files into separate headers, rather than sticking them into the corresponding catalog definition file as has been done in the past. This commit only carries out that idea fully for pg_proc, pg_type and pg_conversion, but that's enough for the moment --- if pg_list.h ever becomes unsafe for frontend code to include, we'll need to work a bit more. Zdenek Kotala
Diffstat (limited to 'src/bin/pg_dump/common.c')
-rw-r--r--src/bin/pg_dump/common.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c
index 288b9d68f5b..2d41a52e191 100644
--- a/src/bin/pg_dump/common.c
+++ b/src/bin/pg_dump/common.c
@@ -11,18 +11,17 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.102 2008/01/01 19:45:55 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/common.c,v 1.103 2008/03/27 03:57:33 tgl Exp $
*
*-------------------------------------------------------------------------
*/
-
#include "postgres_fe.h"
-#include "pg_backup_archiver.h"
-#include "postgres.h"
+#include <ctype.h>
+
#include "catalog/pg_class.h"
-#include <ctype.h>
+#include "pg_backup_archiver.h"
/*