@@ -627,13 +627,13 @@ bool in_hot_standby_guc;
627627 */
628628const char * const GucContext_Names [] =
629629{
630- /* PGC_INTERNAL */ "internal" ,
631- /* PGC_POSTMASTER */ "postmaster" ,
632- /* PGC_SIGHUP */ "sighup" ,
633- /* PGC_SU_BACKEND */ "superuser-backend" ,
634- /* PGC_BACKEND */ "backend" ,
635- /* PGC_SUSET */ "superuser" ,
636- /* PGC_USERSET */ "user"
630+ [ PGC_INTERNAL ] = "internal" ,
631+ [ PGC_POSTMASTER ] = "postmaster" ,
632+ [ PGC_SIGHUP ] = "sighup" ,
633+ [ PGC_SU_BACKEND ] = "superuser-backend" ,
634+ [ PGC_BACKEND ] = "backend" ,
635+ [ PGC_SUSET ] = "superuser" ,
636+ [ PGC_USERSET ] = "user" ,
637637};
638638
639639StaticAssertDecl (lengthof (GucContext_Names ) == (PGC_USERSET + 1 ),
@@ -646,20 +646,20 @@ StaticAssertDecl(lengthof(GucContext_Names) == (PGC_USERSET + 1),
646646 */
647647const char * const GucSource_Names [] =
648648{
649- /* PGC_S_DEFAULT */ "default" ,
650- /* PGC_S_DYNAMIC_DEFAULT */ "default" ,
651- /* PGC_S_ENV_VAR */ "environment variable" ,
652- /* PGC_S_FILE */ "configuration file" ,
653- /* PGC_S_ARGV */ "command line" ,
654- /* PGC_S_GLOBAL */ "global" ,
655- /* PGC_S_DATABASE */ "database" ,
656- /* PGC_S_USER */ "user" ,
657- /* PGC_S_DATABASE_USER */ "database user" ,
658- /* PGC_S_CLIENT */ "client" ,
659- /* PGC_S_OVERRIDE */ "override" ,
660- /* PGC_S_INTERACTIVE */ "interactive" ,
661- /* PGC_S_TEST */ "test" ,
662- /* PGC_S_SESSION */ "session"
649+ [ PGC_S_DEFAULT ] = "default" ,
650+ [ PGC_S_DYNAMIC_DEFAULT ] = "default" ,
651+ [ PGC_S_ENV_VAR ] = "environment variable" ,
652+ [ PGC_S_FILE ] = "configuration file" ,
653+ [ PGC_S_ARGV ] = "command line" ,
654+ [ PGC_S_GLOBAL ] = "global" ,
655+ [ PGC_S_DATABASE ] = "database" ,
656+ [ PGC_S_USER ] = "user" ,
657+ [ PGC_S_DATABASE_USER ] = "database user" ,
658+ [ PGC_S_CLIENT ] = "client" ,
659+ [ PGC_S_OVERRIDE ] = "override" ,
660+ [ PGC_S_INTERACTIVE ] = "interactive" ,
661+ [ PGC_S_TEST ] = "test" ,
662+ [ PGC_S_SESSION ] = "session" ,
663663};
664664
665665StaticAssertDecl (lengthof (GucSource_Names ) == (PGC_S_SESSION + 1 ),
@@ -670,96 +670,51 @@ StaticAssertDecl(lengthof(GucSource_Names) == (PGC_S_SESSION + 1),
670670 */
671671const char * const config_group_names [] =
672672{
673- /* UNGROUPED */
674- gettext_noop ("Ungrouped" ),
675- /* FILE_LOCATIONS */
676- gettext_noop ("File Locations" ),
677- /* CONN_AUTH_SETTINGS */
678- gettext_noop ("Connections and Authentication / Connection Settings" ),
679- /* CONN_AUTH_TCP */
680- gettext_noop ("Connections and Authentication / TCP Settings" ),
681- /* CONN_AUTH_AUTH */
682- gettext_noop ("Connections and Authentication / Authentication" ),
683- /* CONN_AUTH_SSL */
684- gettext_noop ("Connections and Authentication / SSL" ),
685- /* RESOURCES_MEM */
686- gettext_noop ("Resource Usage / Memory" ),
687- /* RESOURCES_DISK */
688- gettext_noop ("Resource Usage / Disk" ),
689- /* RESOURCES_KERNEL */
690- gettext_noop ("Resource Usage / Kernel Resources" ),
691- /* RESOURCES_VACUUM_DELAY */
692- gettext_noop ("Resource Usage / Cost-Based Vacuum Delay" ),
693- /* RESOURCES_BGWRITER */
694- gettext_noop ("Resource Usage / Background Writer" ),
695- /* RESOURCES_ASYNCHRONOUS */
696- gettext_noop ("Resource Usage / Asynchronous Behavior" ),
697- /* WAL_SETTINGS */
698- gettext_noop ("Write-Ahead Log / Settings" ),
699- /* WAL_CHECKPOINTS */
700- gettext_noop ("Write-Ahead Log / Checkpoints" ),
701- /* WAL_ARCHIVING */
702- gettext_noop ("Write-Ahead Log / Archiving" ),
703- /* WAL_RECOVERY */
704- gettext_noop ("Write-Ahead Log / Recovery" ),
705- /* WAL_ARCHIVE_RECOVERY */
706- gettext_noop ("Write-Ahead Log / Archive Recovery" ),
707- /* WAL_RECOVERY_TARGET */
708- gettext_noop ("Write-Ahead Log / Recovery Target" ),
709- /* WAL_SUMMARIZATION */
710- gettext_noop ("Write-Ahead Log / Summarization" ),
711- /* REPLICATION_SENDING */
712- gettext_noop ("Replication / Sending Servers" ),
713- /* REPLICATION_PRIMARY */
714- gettext_noop ("Replication / Primary Server" ),
715- /* REPLICATION_STANDBY */
716- gettext_noop ("Replication / Standby Servers" ),
717- /* REPLICATION_SUBSCRIBERS */
718- gettext_noop ("Replication / Subscribers" ),
719- /* QUERY_TUNING_METHOD */
720- gettext_noop ("Query Tuning / Planner Method Configuration" ),
721- /* QUERY_TUNING_COST */
722- gettext_noop ("Query Tuning / Planner Cost Constants" ),
723- /* QUERY_TUNING_GEQO */
724- gettext_noop ("Query Tuning / Genetic Query Optimizer" ),
725- /* QUERY_TUNING_OTHER */
726- gettext_noop ("Query Tuning / Other Planner Options" ),
727- /* LOGGING_WHERE */
728- gettext_noop ("Reporting and Logging / Where to Log" ),
729- /* LOGGING_WHEN */
730- gettext_noop ("Reporting and Logging / When to Log" ),
731- /* LOGGING_WHAT */
732- gettext_noop ("Reporting and Logging / What to Log" ),
733- /* PROCESS_TITLE */
734- gettext_noop ("Reporting and Logging / Process Title" ),
735- /* STATS_MONITORING */
736- gettext_noop ("Statistics / Monitoring" ),
737- /* STATS_CUMULATIVE */
738- gettext_noop ("Statistics / Cumulative Query and Index Statistics" ),
739- /* AUTOVACUUM */
740- gettext_noop ("Autovacuum" ),
741- /* CLIENT_CONN_STATEMENT */
742- gettext_noop ("Client Connection Defaults / Statement Behavior" ),
743- /* CLIENT_CONN_LOCALE */
744- gettext_noop ("Client Connection Defaults / Locale and Formatting" ),
745- /* CLIENT_CONN_PRELOAD */
746- gettext_noop ("Client Connection Defaults / Shared Library Preloading" ),
747- /* CLIENT_CONN_OTHER */
748- gettext_noop ("Client Connection Defaults / Other Defaults" ),
749- /* LOCK_MANAGEMENT */
750- gettext_noop ("Lock Management" ),
751- /* COMPAT_OPTIONS_PREVIOUS */
752- gettext_noop ("Version and Platform Compatibility / Previous PostgreSQL Versions" ),
753- /* COMPAT_OPTIONS_CLIENT */
754- gettext_noop ("Version and Platform Compatibility / Other Platforms and Clients" ),
755- /* ERROR_HANDLING_OPTIONS */
756- gettext_noop ("Error Handling" ),
757- /* PRESET_OPTIONS */
758- gettext_noop ("Preset Options" ),
759- /* CUSTOM_OPTIONS */
760- gettext_noop ("Customized Options" ),
761- /* DEVELOPER_OPTIONS */
762- gettext_noop ("Developer Options" ),
673+ [UNGROUPED ] = gettext_noop ("Ungrouped" ),
674+ [FILE_LOCATIONS ] = gettext_noop ("File Locations" ),
675+ [CONN_AUTH_SETTINGS ] = gettext_noop ("Connections and Authentication / Connection Settings" ),
676+ [CONN_AUTH_TCP ] = gettext_noop ("Connections and Authentication / TCP Settings" ),
677+ [CONN_AUTH_AUTH ] = gettext_noop ("Connections and Authentication / Authentication" ),
678+ [CONN_AUTH_SSL ] = gettext_noop ("Connections and Authentication / SSL" ),
679+ [RESOURCES_MEM ] = gettext_noop ("Resource Usage / Memory" ),
680+ [RESOURCES_DISK ] = gettext_noop ("Resource Usage / Disk" ),
681+ [RESOURCES_KERNEL ] = gettext_noop ("Resource Usage / Kernel Resources" ),
682+ [RESOURCES_VACUUM_DELAY ] = gettext_noop ("Resource Usage / Cost-Based Vacuum Delay" ),
683+ [RESOURCES_BGWRITER ] = gettext_noop ("Resource Usage / Background Writer" ),
684+ [RESOURCES_ASYNCHRONOUS ] = gettext_noop ("Resource Usage / Asynchronous Behavior" ),
685+ [WAL_SETTINGS ] = gettext_noop ("Write-Ahead Log / Settings" ),
686+ [WAL_CHECKPOINTS ] = gettext_noop ("Write-Ahead Log / Checkpoints" ),
687+ [WAL_ARCHIVING ] = gettext_noop ("Write-Ahead Log / Archiving" ),
688+ [WAL_RECOVERY ] = gettext_noop ("Write-Ahead Log / Recovery" ),
689+ [WAL_ARCHIVE_RECOVERY ] = gettext_noop ("Write-Ahead Log / Archive Recovery" ),
690+ [WAL_RECOVERY_TARGET ] = gettext_noop ("Write-Ahead Log / Recovery Target" ),
691+ [WAL_SUMMARIZATION ] = gettext_noop ("Write-Ahead Log / Summarization" ),
692+ [REPLICATION_SENDING ] = gettext_noop ("Replication / Sending Servers" ),
693+ [REPLICATION_PRIMARY ] = gettext_noop ("Replication / Primary Server" ),
694+ [REPLICATION_STANDBY ] = gettext_noop ("Replication / Standby Servers" ),
695+ [REPLICATION_SUBSCRIBERS ] = gettext_noop ("Replication / Subscribers" ),
696+ [QUERY_TUNING_METHOD ] = gettext_noop ("Query Tuning / Planner Method Configuration" ),
697+ [QUERY_TUNING_COST ] = gettext_noop ("Query Tuning / Planner Cost Constants" ),
698+ [QUERY_TUNING_GEQO ] = gettext_noop ("Query Tuning / Genetic Query Optimizer" ),
699+ [QUERY_TUNING_OTHER ] = gettext_noop ("Query Tuning / Other Planner Options" ),
700+ [LOGGING_WHERE ] = gettext_noop ("Reporting and Logging / Where to Log" ),
701+ [LOGGING_WHEN ] = gettext_noop ("Reporting and Logging / When to Log" ),
702+ [LOGGING_WHAT ] = gettext_noop ("Reporting and Logging / What to Log" ),
703+ [PROCESS_TITLE ] = gettext_noop ("Reporting and Logging / Process Title" ),
704+ [STATS_MONITORING ] = gettext_noop ("Statistics / Monitoring" ),
705+ [STATS_CUMULATIVE ] = gettext_noop ("Statistics / Cumulative Query and Index Statistics" ),
706+ [AUTOVACUUM ] = gettext_noop ("Autovacuum" ),
707+ [CLIENT_CONN_STATEMENT ] = gettext_noop ("Client Connection Defaults / Statement Behavior" ),
708+ [CLIENT_CONN_LOCALE ] = gettext_noop ("Client Connection Defaults / Locale and Formatting" ),
709+ [CLIENT_CONN_PRELOAD ] = gettext_noop ("Client Connection Defaults / Shared Library Preloading" ),
710+ [CLIENT_CONN_OTHER ] = gettext_noop ("Client Connection Defaults / Other Defaults" ),
711+ [LOCK_MANAGEMENT ] = gettext_noop ("Lock Management" ),
712+ [COMPAT_OPTIONS_PREVIOUS ] = gettext_noop ("Version and Platform Compatibility / Previous PostgreSQL Versions" ),
713+ [COMPAT_OPTIONS_CLIENT ] = gettext_noop ("Version and Platform Compatibility / Other Platforms and Clients" ),
714+ [ERROR_HANDLING_OPTIONS ] = gettext_noop ("Error Handling" ),
715+ [PRESET_OPTIONS ] = gettext_noop ("Preset Options" ),
716+ [CUSTOM_OPTIONS ] = gettext_noop ("Customized Options" ),
717+ [DEVELOPER_OPTIONS ] = gettext_noop ("Developer Options" ),
763718 /* help_config wants this array to be null-terminated */
764719 NULL
765720};
@@ -774,11 +729,11 @@ StaticAssertDecl(lengthof(config_group_names) == (DEVELOPER_OPTIONS + 2),
774729 */
775730const char * const config_type_names [] =
776731{
777- /* PGC_BOOL */ "bool" ,
778- /* PGC_INT */ "integer" ,
779- /* PGC_REAL */ "real" ,
780- /* PGC_STRING */ "string" ,
781- /* PGC_ENUM */ "enum"
732+ [ PGC_BOOL ] = "bool" ,
733+ [ PGC_INT ] = "integer" ,
734+ [ PGC_REAL ] = "real" ,
735+ [ PGC_STRING ] = "string" ,
736+ [ PGC_ENUM ] = "enum" ,
782737};
783738
784739StaticAssertDecl (lengthof (config_type_names ) == (PGC_ENUM + 1 ),
0 commit comments