summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_ts_dict.h
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/include/catalog/pg_ts_dict.h
parent73b0300b2a9c170f67f5202f5003be10b529e0f5 (diff)
downloadpostgresql-039dfbfd5d29e11da553f4a77a49ca52eafe8217.tar.gz
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/include/catalog/pg_ts_dict.h')
-rw-r--r--src/include/catalog/pg_ts_dict.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/include/catalog/pg_ts_dict.h b/src/include/catalog/pg_ts_dict.h
index 19af7fe91a..4ea9e25102 100644
--- a/src/include/catalog/pg_ts_dict.h
+++ b/src/include/catalog/pg_ts_dict.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_ts_dict.h,v 1.3 2008/01/01 19:45:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_ts_dict.h,v 1.4 2008/03/27 03:57:34 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -21,12 +21,7 @@
#ifndef PG_TS_DICT_H
#define PG_TS_DICT_H
-/* ----------------
- * postgres.h contains the system type definitions and the
- * CATALOG(), BKI_BOOTSTRAP and DATA() sugar words so this file
- * can be read by both genbki.sh and the C compiler.
- * ----------------
- */
+#include "catalog/genbki.h"
/* ----------------
* pg_ts_dict definition. cpp turns this into