diff options
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r-- | src/backend/utils/misc/guc.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index d7142d218dc..aca42436d34 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -171,7 +171,6 @@ static void assign_syslog_facility(int newval, void *extra); static void assign_syslog_ident(const char *newval, void *extra); static void assign_session_replication_role(int newval, void *extra); static bool check_temp_buffers(int *newval, void **extra, GucSource source); -static bool check_phony_autocommit(bool *newval, void **extra, GucSource source); static bool check_bonjour(bool *newval, void **extra, GucSource source); static bool check_ssl(bool *newval, void **extra, GucSource source); static bool check_stage_log_stats(bool *newval, void **extra, GucSource source); @@ -488,7 +487,6 @@ int huge_pages; * and is kept in sync by assign_hooks. */ static char *syslog_ident_str; -static bool phony_autocommit; static bool session_auth_is_superuser; static double phony_random_seed; static char *client_encoding_string; @@ -1251,17 +1249,6 @@ static struct config_bool ConfigureNamesBool[] = NULL, NULL, NULL }, { - /* only here for backwards compatibility */ - {"autocommit", PGC_USERSET, CLIENT_CONN_STATEMENT, - gettext_noop("This parameter doesn't do anything."), - gettext_noop("It's just here so that we won't choke on SET AUTOCOMMIT TO ON from 7.3-vintage clients."), - GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE - }, - &phony_autocommit, - true, - check_phony_autocommit, NULL, NULL - }, - { {"default_transaction_read_only", PGC_USERSET, CLIENT_CONN_STATEMENT, gettext_noop("Sets the default read-only status of new transactions."), NULL @@ -9180,18 +9167,6 @@ check_temp_buffers(int *newval, void **extra, GucSource source) } static bool -check_phony_autocommit(bool *newval, void **extra, GucSource source) -{ - if (!*newval) - { - GUC_check_errcode(ERRCODE_FEATURE_NOT_SUPPORTED); - GUC_check_errmsg("SET AUTOCOMMIT TO OFF is no longer supported"); - return false; - } - return true; -} - -static bool check_bonjour(bool *newval, void **extra, GucSource source) { #ifndef USE_BONJOUR |