Content-Length: 278122 | pFad | http://github.com/postgrespro/postgres/commit/cdfe4bb64f5bb2fdc091c860d69754203f7c0f42
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d28424 commit cdfe4bbCopy full SHA for cdfe4bb
contrib/tsearch/morph.c
@@ -114,12 +114,13 @@ initmorph(void)
114
115
#ifdef USE_LOCALE
116
PGLC_current(&lc);
117
- for (i = 1; i < lengthof(dicts); i++)
118
- if (strcmp(dicts[i].localename, lc.lang) == 0)
119
- {
120
- bylocaledict = i;
121
- break;
122
- }
+ if ( lc.lc_ctype )
+ for (i = 1; i < lengthof(dicts); i++)
+ if (strcmp(dicts[i].localename, lc.lc_ctype) == 0)
+ {
+ bylocaledict = i;
+ break;
123
+ }
124
PGLC_free_categories(&lc);
125
#endif
126
Fetched URL: http://github.com/postgrespro/postgres/commit/cdfe4bb64f5bb2fdc091c860d69754203f7c0f42
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments