summaryrefslogtreecommitdiff
path: root/src/include/pg_config_manual.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2007-02-06 09:16:08 +0000
committerPeter Eisentraut <peter_e@gmx.net>2007-02-06 09:16:08 +0000
commit037f8413fa42562a8b7a075a66faa8fd88247753 (patch)
tree5f647e09d7c7e3e9ddd2687f5b31e9b0eb6dbc55 /src/include/pg_config_manual.h
parent56e59edd7509f8726157cd8039529fc077f57ebb (diff)
downloadpostgresql-037f8413fa42562a8b7a075a66faa8fd88247753.tar.gz
Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It
used to be part of libpq's exported interface many releases ago, but now it's no longer necessary to make it accessible to clients.
Diffstat (limited to 'src/include/pg_config_manual.h')
-rw-r--r--src/include/pg_config_manual.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
index d41d561996..074833d198 100644
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
*
- * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.23 2006/09/18 22:40:40 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.24 2007/02/06 09:16:08 petere Exp $
*------------------------------------------------------------------------
*/
@@ -63,6 +63,15 @@
#define XLOG_SEG_SIZE (16*1024*1024)
/*
+ * Maximum length for identifiers (e.g. table names, column names,
+ * function names). It must be a multiple of sizeof(int) (typically
+ * 4).
+ *
+ * Changing this requires an initdb.
+ */
+#define NAMEDATALEN 64
+
+/*
* Maximum number of arguments to a function.
*
* The minimum value is 8 (index cost estimation uses 8-argument functions).