]> granicus.if.org Git - postgresql/blobdiff - src/include/utils/guc_tables.h
Fix initialization of fake LSN for unlogged relations
[postgresql] / src / include / utils / guc_tables.h
index 4f1f6e0b671298cf6cce62a739cb2b8f4bc4df6a..d68976fafa94defa8d637ae59f3d24697c7f030f 100644 (file)
@@ -5,7 +5,7 @@
  *
  * See src/backend/utils/misc/README for design notes.
  *
- * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  *
  *       src/include/utils/guc_tables.h
  *
@@ -56,7 +56,8 @@ enum config_group
        FILE_LOCATIONS,
        CONN_AUTH,
        CONN_AUTH_SETTINGS,
-       CONN_AUTH_SECURITY,
+       CONN_AUTH_AUTH,
+       CONN_AUTH_SSL,
        RESOURCES,
        RESOURCES_MEM,
        RESOURCES_DISK,
@@ -68,10 +69,13 @@ enum config_group
        WAL_SETTINGS,
        WAL_CHECKPOINTS,
        WAL_ARCHIVING,
+       WAL_ARCHIVE_RECOVERY,
+       WAL_RECOVERY_TARGET,
        REPLICATION,
        REPLICATION_SENDING,
        REPLICATION_MASTER,
        REPLICATION_STANDBY,
+       REPLICATION_SUBSCRIBERS,
        QUERY_TUNING,
        QUERY_TUNING_METHOD,
        QUERY_TUNING_COST,
@@ -81,6 +85,7 @@ enum config_group
        LOGGING_WHERE,
        LOGGING_WHEN,
        LOGGING_WHAT,
+       PROCESS_TITLE,
        STATS,
        STATS_MONITORING,
        STATS_COLLECTOR,
@@ -162,11 +167,12 @@ struct config_generic
 };
 
 /* bit values in status field */
-#define GUC_IS_IN_FILE         0x0001          /* found it in config file */
+#define GUC_IS_IN_FILE         0x0001  /* found it in config file */
 /*
  * Caution: the GUC_IS_IN_FILE bit is transient state for ProcessConfigFile.
  * Do not assume that its value represents useful information elsewhere.
  */
+#define GUC_PENDING_RESTART 0x0002
 
 
 /* GUC records for specific variable types */
@@ -258,8 +264,9 @@ extern struct config_generic **get_guc_variables(void);
 extern void build_guc_variables(void);
 
 /* search in enum options */
-extern const char *config_enum_lookup_by_value(struct config_enum * record, int val);
-extern bool config_enum_lookup_by_name(struct config_enum * record,
-                                                  const char *value, int *retval);
+extern const char *config_enum_lookup_by_value(struct config_enum *record, int val);
+extern bool config_enum_lookup_by_name(struct config_enum *record,
+                                                                          const char *value, int *retval);
+extern struct config_generic **get_explain_guc_options(int *num);
 
-#endif   /* GUC_TABLES_H */
+#endif                                                 /* GUC_TABLES_H */