Skip to content

Commit 3398503

Browse files
committed
fix: IvorySQL#824 regression test failed
1 parent 423ebb0 commit 3398503

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

src/backend/utils/misc/ivy_guc.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ int identifier_case_switch = INTERCHANGE;
2121
bool identifier_case_from_pg_dump = false;
2222
bool enable_case_switch = true;
2323

24-
char *nls_territory = "";
25-
char *nls_currency = "";
26-
char *nls_iso_currency = "";
24+
char *nls_territory = "AMERICA";
25+
char *nls_currency = "$";
26+
char *nls_iso_currency = "AMERICA";
2727
// int *nls_length_semantics = NULL;
2828
// char *nls_date_format = "";
2929
// char *nls_timestamp_format = "";
@@ -278,7 +278,8 @@ static struct config_string Ivy_ConfigureNamesString[] =
278278
{
279279
{"nls_territory", PGC_USERSET, COMPAT_ORACLE_OPTIONS,
280280
gettext_noop("Compatible Oracle NLS parameter for NLS_TERRITORY."),
281-
NULL
281+
NULL,
282+
GUC_NOT_IN_SAMPLE
282283
},
283284
&nls_territory,
284285
"AMERICA",
@@ -288,7 +289,8 @@ static struct config_string Ivy_ConfigureNamesString[] =
288289
{
289290
{"nls_currency", PGC_USERSET, COMPAT_ORACLE_OPTIONS,
290291
gettext_noop("Compatible Oracle NLS parameter for NLS_CURRENCY."),
291-
NULL
292+
NULL,
293+
GUC_NOT_IN_SAMPLE
292294
},
293295
&nls_currency,
294296
"$",
@@ -298,7 +300,8 @@ static struct config_string Ivy_ConfigureNamesString[] =
298300
{
299301
{"nls_iso_currency", PGC_USERSET, COMPAT_ORACLE_OPTIONS,
300302
gettext_noop("Compatible Oracle NLS parameter for NLS_ISO_CURRENCY."),
301-
NULL
303+
NULL,
304+
GUC_NOT_IN_SAMPLE
302305
},
303306
&nls_iso_currency,
304307
"AMERICA",

0 commit comments

Comments
 (0)