diff options
| author | Heikki Linnakangas | 2023-06-12 13:25:37 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2023-06-12 13:25:37 +0000 |
| commit | 548d7260309008b146bd9eaa66f3c5be0a8d725a (patch) | |
| tree | eac9905435a6619107f2c6d556613078bb120a48 /src/include | |
| parent | 3e8da50244a8de69317babcfdb048172cf30f14c (diff) | |
Remove a few unused global variables and declarations.
- Commit 3eb77eba5a, which moved the pending ops queue from md.c to
sync.c, introduced a duplicate, unused 'pendingOpsCxt'
variable. (I'm surprised none of the compilers or static analysis
tools have complained about that.)
- Commit c2fe139c20 moved the 'synchronize_seqscans' variable and
introduced an extern declaration in tableam.h, making the one in
guc_tables.c unnecessary.
- Commit 6f0cf87872 removed the 'pgstat_temp_directory' GUC, but
forgot to remove the corresponding global variable.
- Commit 1b4e729eaa removed the 'pg_krb_realm' GUC, and its global
variable, but forgot the declaration in auth.h.
Spotted all these by reading the code.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/libpq/auth.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/libpq/auth.h b/src/include/libpq/auth.h index 3b3b2cc4aaa..7fac05b813f 100644 --- a/src/include/libpq/auth.h +++ b/src/include/libpq/auth.h @@ -19,7 +19,6 @@ extern PGDLLIMPORT char *pg_krb_server_keyfile; extern PGDLLIMPORT bool pg_krb_caseins_users; extern PGDLLIMPORT bool pg_gss_accept_delegation; -extern PGDLLIMPORT char *pg_krb_realm; extern void ClientAuthentication(Port *port); extern void sendAuthRequest(Port *port, AuthRequest areq, const char *extradata, |
