Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a632bcc

Browse files
Merge pull request #10 from CourteousSleet/master
[PGPRO-8706] Backport pg_tsparser fix
2 parents 381bc16 + 7f2b560 commit a632bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsparser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ TParserInit(char *str, int len)
312312
pg_locale_t mylocale = 0; /* TODO */
313313

314314
prs->usewide = true;
315-
#if PG_VERSION_NUM >= 160000
315+
#if PG_VERSION_NUM >= 150000 || (defined(PGPRO_STD) && PG_VERSION_NUM >= 120000)
316316
if (database_ctype_is_c)
317317
#else
318318
if (lc_ctype_is_c(DEFAULT_COLLATION_OID))

0 commit comments

Comments
 (0)