Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/backend/utils/misc/ivorysql.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

ivorysql.enable_emptystring_to_NULL = 'on'
shared_preload_libraries = 'liboracle_parser, ivorysql_ora' # (change requires restart)
#ivorysql.identifier_case_switch = interchange # set the case conversion mode. range [normal,interchange,lowercase]
#ivorysql.identifier_case_switch = normal # set the case conversion mode. range [normal,interchange,lowercase]
4 changes: 2 additions & 2 deletions src/backend/utils/misc/ivy_guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#ifdef IVY_GUC_VAR_DEFINE
#define ISLOADIVORYSQL_ORA pg_transform_merge_stmt_hook

int identifier_case_switch = INTERCHANGE;
int identifier_case_switch = NORMAL;
bool identifier_case_from_pg_dump = false;
bool enable_case_switch = true;

Expand Down Expand Up @@ -414,7 +414,7 @@ static struct config_enum Ivy_ConfigureNamesEnum[] =
NULL
},
&identifier_case_switch,
INTERCHANGE, case_conversion_mode,
NORMAL, case_conversion_mode,
NULL, NULL, NULL
},

Expand Down
6 changes: 3 additions & 3 deletions src/bin/initdb/initdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ static int output_errno = 0;
static char *pgdata_native;
static char *preload_ora_misc;

static char *switchmode = "interchange";
static int caseswitchmode = INTERCHANGE;
static char *switchmode = "normal";
static int caseswitchmode = NORMAL;

/* defaults */
static int n_connections = 10;
Expand Down Expand Up @@ -2684,7 +2684,7 @@ usage(const char *progname)
printf(_(" -m, --dbmode=MODE set database mode, default is oracle\n"));
printf(_(" -C, --case-conversion-mode=MODE\n"
" set case conversion mode, options can be\n"
" normal/interchange/lowercase, default is interchange\n"));
" normal/interchange/lowercase, default is normal\n"));
printf(_("\nLess commonly used options:\n"));
printf(_(" -c, --set NAME=VALUE override default setting for server parameter\n"));
printf(_(" -d, --debug generate lots of debugging output\n"));
Expand Down