File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5461,17 +5461,17 @@ void SetCaseGucOption(char* path)
54615461 if (casemode == NORMAL )
54625462 {
54635463 SetConfigOption ("ivorysql.identifier_case_switch" , "normal" ,
5464- PGC_USERSET , PGC_S_OVERRIDE );
5464+ PGC_USERSET , PGC_S_DEFAULT );
54655465 }
54665466 else if (casemode == INTERCHANGE )
54675467 {
54685468 SetConfigOption ("ivorysql.identifier_case_switch" , "interchange" ,
5469- PGC_USERSET , PGC_S_OVERRIDE );
5469+ PGC_USERSET , PGC_S_DEFAULT );
54705470 }
54715471 else if (casemode == LOWERCASE )
54725472 {
54735473 SetConfigOption ("ivorysql.identifier_case_switch" , "lowercase" ,
5474- PGC_USERSET , PGC_S_OVERRIDE );
5474+ PGC_USERSET , PGC_S_DEFAULT );
54755475 }
54765476 else
54775477 ereport (FATAL ,
Original file line number Diff line number Diff line change @@ -773,16 +773,16 @@ PostmasterMain(int argc, char *argv[])
773773 ExitPostmaster (1 );
774774 }
775775
776+ /* set database_style here */
777+ SetCaseGucOption (userDoption );
778+
776779 /*
777780 * Locate the proper configuration files and data directory, and read
778781 * postgresql.conf for the first time.
779782 */
780783 if (!SelectConfigFiles (userDoption , progname ))
781784 ExitPostmaster (2 );
782785
783- /* set database_style here */
784- SetCaseGucOption (userDoption );
785-
786786 if (output_config_variable != NULL )
787787 {
788788 /*
Original file line number Diff line number Diff line change 1010
1111ivorysql.enable_emptystring_to_NULL = 'on'
1212shared_preload_libraries = 'liboracle_parser, ivorysql_ora' # (change requires restart)
13- ivorysql.identifier_case_switch = interchange # set the case conversion mode. range [normal,interchange,lowercase]
13+ # ivorysql.identifier_case_switch = interchange # set the case conversion mode. range [normal,interchange,lowercase]
You can’t perform that action at this time.
0 commit comments