diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/catalog/catversion.h | 2 | ||||
-rw-r--r-- | src/include/catalog/pg_proc.h | 3 | ||||
-rw-r--r-- | src/include/parser/scansup.h | 3 | ||||
-rw-r--r-- | src/include/utils/builtins.h | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 7f410c178c5..7c9e9eb19f6 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 201603151 +#define CATALOG_VERSION_NO 201603181 #endif diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index ceb8129e9af..a59532732c0 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -3463,6 +3463,9 @@ DESCR("I/O"); DATA(insert OID = 4086 ( to_regnamespace PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 4089 "25" _null_ _null_ _null_ _null_ _null_ to_regnamespace _null_ _null_ _null_ )); DESCR("convert namespace name to regnamespace"); +DATA(insert OID = 1268 ( parse_ident PGNSP PGUID 12 1 0 0 0 f f f f t f i s 2 0 1009 "25 16" _null_ _null_ "{str,strict}" _null_ _null_ parse_ident _null_ _null_ _null_ )); +DESCR("parse qualified identifier to array of identifiers"); + DATA(insert OID = 2246 ( fmgr_internal_validator PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 2278 "26" _null_ _null_ _null_ _null_ _null_ fmgr_internal_validator _null_ _null_ _null_ )); DESCR("(internal)"); DATA(insert OID = 2247 ( fmgr_c_validator PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 2278 "26" _null_ _null_ _null_ _null_ _null_ fmgr_c_validator _null_ _null_ _null_ )); diff --git a/src/include/parser/scansup.h b/src/include/parser/scansup.h index 4f4164bb8c4..4f95c81f7c9 100644 --- a/src/include/parser/scansup.h +++ b/src/include/parser/scansup.h @@ -20,6 +20,9 @@ extern char *scanstr(const char *s); extern char *downcase_truncate_identifier(const char *ident, int len, bool warn); +extern char *downcase_identifier(const char *ident, int len, + bool warn, bool truncate); + extern void truncate_identifier(char *ident, int len, bool warn); extern bool scanner_isspace(char ch); diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 59a00bbcbcf..206288da810 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -510,6 +510,7 @@ extern Datum pg_typeof(PG_FUNCTION_ARGS); extern Datum pg_collation_for(PG_FUNCTION_ARGS); extern Datum pg_relation_is_updatable(PG_FUNCTION_ARGS); extern Datum pg_column_is_updatable(PG_FUNCTION_ARGS); +extern Datum parse_ident(PG_FUNCTION_ARGS); /* oid.c */ extern Datum oidin(PG_FUNCTION_ARGS); |