summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2020-05-18 17:21:36 +0000
committerTom Lane2020-05-18 17:21:36 +0000
commitfe0062c900efa5618197a8e3c88b027e93248db4 (patch)
tree864ef35ea08bca787c95116ac63dc99576fc3617
parentb31d6efe3d06ca5983bbe63084322b5494b7c3ef (diff)
Remove unused variables.
g_comment_start and g_comment_end have been unused since commit 30ab5bd43d8f2082659191de8ae19be98c960ad7. Daniel Gustafsson Discussion: https://postgr.es/m/2CA1BA9F-CDF9-41BE-96A1-2EFD2A3EA6CA@yesql.se
-rw-r--r--src/bin/pg_dump/pg_dump.c8
-rw-r--r--src/bin/pg_dump/pg_dump.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index f33c2463a72..a4e949c636d 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -122,11 +122,6 @@ static SimpleOidList tabledata_exclude_oids = {NULL, NULL};
static SimpleStringList foreign_servers_include_patterns = {NULL, NULL};
static SimpleOidList foreign_servers_include_oids = {NULL, NULL};
-
-/* placeholders for the delimiters for comments */
-char g_comment_start[10];
-char g_comment_end[10];
-
static const CatalogId nilCatalogId = {0, 0};
/* override for standard extra_float_digits setting */
@@ -405,9 +400,6 @@ main(int argc, char **argv)
*/
init_parallel_dump_utils();
- strcpy(g_comment_start, "-- ");
- g_comment_end[0] = '\0';
-
progname = get_progname(argv[0]);
if (argc > 1)
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index 5f70400b257..0c2fcfb3a9c 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -639,10 +639,6 @@ typedef struct _extensionMemberId
ExtensionInfo *ext; /* owning extension */
} ExtensionMemberId;
-/* placeholders for comment starting and ending delimiters */
-extern char g_comment_start[10];
-extern char g_comment_end[10];
-
/*
* common utility functions
*/