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

Skip to content

Commit 60bc3b3

Browse files
[PGPRO-8706] Backport pg_tsparser fix
Tags: icu, pg_tsparser
1 parent 381bc16 commit 60bc3b3

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_VERSION_NUM) && 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)