diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/catalog/namespace.h | 4 | ||||
-rw-r--r-- | src/include/catalog/pg_namespace.h | 8 | ||||
-rw-r--r-- | src/include/utils/builtins.h | 3 |
3 files changed, 12 insertions, 3 deletions
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h index f6f359813cd..242050de490 100644 --- a/src/include/catalog/namespace.h +++ b/src/include/catalog/namespace.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: namespace.h,v 1.2 2002/03/29 19:06:18 tgl Exp $ + * $Id: namespace.h,v 1.3 2002/03/30 01:02:42 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -23,6 +23,8 @@ extern Oid RangeVarGetCreationNamespace(const RangeVar *newRelation); extern Oid RelnameGetRelid(const char *relname); +extern Oid TypenameGetTypid(const char *typname); + extern Oid QualifiedNameGetCreationNamespace(List *names, char **objname_p); extern RangeVar *makeRangeVarFromNameList(List *names); diff --git a/src/include/catalog/pg_namespace.h b/src/include/catalog/pg_namespace.h index 8a57cf7977b..607b74132e4 100644 --- a/src/include/catalog/pg_namespace.h +++ b/src/include/catalog/pg_namespace.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_namespace.h,v 1.1 2002/03/22 21:34:44 tgl Exp $ + * $Id: pg_namespace.h,v 1.2 2002/03/30 01:02:42 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -69,6 +69,12 @@ typedef FormData_pg_namespace *Form_pg_namespace; DATA(insert OID = 11 ( "pg_catalog" PGUID "{=r}" )); DESCR("System catalog namespace"); #define PG_CATALOG_NAMESPACE 11 +DATA(insert OID = 99 ( "pg_toast" PGUID "{=r}" )); +DESCR("Reserved namespace for TOAST tables"); +#define PG_TOAST_NAMESPACE 99 +DATA(insert OID = 2071 ( "pg_public" PGUID "{=rw}" )); +DESCR("Standard public namespace"); +#define PG_PUBLIC_NAMESPACE 2071 /* diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index e1343bf4fcd..7bd111cd544 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.173 2002/03/22 02:56:37 tgl Exp $ + * $Id: builtins.h,v 1.174 2002/03/30 01:02:42 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -410,6 +410,7 @@ extern Datum text_substr(PG_FUNCTION_ARGS); extern Datum name_text(PG_FUNCTION_ARGS); extern Datum text_name(PG_FUNCTION_ARGS); extern int varstr_cmp(char *arg1, int len1, char *arg2, int len2); +extern List *textToQualifiedNameList(text *textval, const char *caller); extern Datum byteain(PG_FUNCTION_ARGS); extern Datum byteaout(PG_FUNCTION_ARGS); |