diff options
| author | Teodor Sigaev | 2016-03-18 15:16:14 +0000 |
|---|---|---|
| committer | Teodor Sigaev | 2016-03-18 15:16:14 +0000 |
| commit | 3187d6de0e5a9e805b27c48437897e8c39071d45 (patch) | |
| tree | 73c8b2d0ffb1f9410ca5d59bc3b62c43febbf0ea /src/include/parser | |
| parent | 992b5ba30dcafdc222341505b072a6b009b248a7 (diff) | |
Introduce parse_ident()
SQL-layer function to split qualified identifier into array parts.
Author: Pavel Stehule with minor editorization by me and Jim Nasby
Diffstat (limited to 'src/include/parser')
| -rw-r--r-- | src/include/parser/scansup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/parser/scansup.h b/src/include/parser/scansup.h index 4f4164bb8c..4f95c81f7c 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); |
