50 bool enc_is_single_byte;
66 unsigned char ch = (
unsigned char)
ident[
i];
68 if (ch >=
'A' && ch <=
'Z')
72 result[
i] = (char) ch;
100 (
errcode(ERRCODE_NAME_TOO_LONG),
101 errmsg(
"identifier \"%s\" will be truncated to \"%.*s\"",
#define IS_HIGHBIT_SET(ch)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
int pg_mbcliplen(const char *mbstr, int len, int limit)
int pg_database_encoding_max_length(void)
void truncate_identifier(char *ident, int len, bool warn)
bool scanner_isspace(char ch)
char * downcase_identifier(const char *ident, int len, bool warn, bool truncate)
char * downcase_truncate_identifier(const char *ident, int len, bool warn)