Update copyright for 2022
[pgsql.git] / src / include / parser / scansup.h
blobff65224bf6498e8612a09f3ecd0097aa869b1ef1
1 /*-------------------------------------------------------------------------
3 * scansup.h
4 * scanner support routines used by the core lexer
6 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/parser/scansup.h
11 *-------------------------------------------------------------------------
14 #ifndef SCANSUP_H
15 #define SCANSUP_H
17 extern char *downcase_truncate_identifier(const char *ident, int len,
18 bool warn);
20 extern char *downcase_identifier(const char *ident, int len,
21 bool warn, bool truncate);
23 extern void truncate_identifier(char *ident, int len, bool warn);
25 extern bool scanner_isspace(char ch);
27 #endif /* SCANSUP_H */