From 7f2b5600f5d298e76553ec4c0846c038890f9d1f Mon Sep 17 00:00:00 2001 From: CourteousSleet Date: Wed, 28 Aug 2024 14:44:46 +0300 Subject: [PATCH] [PGPRO-8706] Backport pg_tsparser fix Tags: icu, pg_tsparser --- tsparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsparser.c b/tsparser.c index 8d7f8f7..e821dce 100644 --- a/tsparser.c +++ b/tsparser.c @@ -312,7 +312,7 @@ TParserInit(char *str, int len) pg_locale_t mylocale = 0; /* TODO */ prs->usewide = true; -#if PG_VERSION_NUM >= 160000 +#if PG_VERSION_NUM >= 150000 || (defined(PGPRO_STD) && PG_VERSION_NUM >= 120000) if (database_ctype_is_c) #else if (lc_ctype_is_c(DEFAULT_COLLATION_OID))