diff options
Diffstat (limited to 'src/bin/pg_dump/dumputils.c')
-rw-r--r-- | src/bin/pg_dump/dumputils.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c index 8f702594157..9b306295150 100644 --- a/src/bin/pg_dump/dumputils.c +++ b/src/bin/pg_dump/dumputils.c @@ -22,6 +22,10 @@ #include "parser/keywords.h" +/* Globals from keywords.c */ +extern const ScanKeyword FEScanKeywords[]; +extern const int NumFEScanKeywords; + /* Globals exported by this file */ int quote_all_identifiers = 0; const char *progname = NULL; @@ -150,8 +154,8 @@ fmtId(const char *rawid) * that's fine, since we already know we have all-lower-case. */ const ScanKeyword *keyword = ScanKeywordLookup(rawid, - ScanKeywords, - NumScanKeywords); + FEScanKeywords, + NumFEScanKeywords); if (keyword != NULL && keyword->category != UNRESERVED_KEYWORD) need_quotes = true; |