summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-07-08 14:52:39 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-07-08 14:54:46 -0400
commit2661a793ff59149af1d844d6be504e421c04733e (patch)
tree289be257c57308a3c3d9d4b6bd79aade967396c0 /src/bin/pg_dump/pg_backup.h
parent1c4e88e2fe41dbd1cb3431fbfed5ee6d92bfe089 (diff)
Don't treat DumpOptions->dump_inserts like a boolean
This has been an integer count since 7e413a0f82c8 so treat it explicitly like an integer. No backpatch since this is just cosmetic.
Diffstat (limited to 'src/bin/pg_dump/pg_backup.h')
-rw-r--r--src/bin/pg_dump/pg_backup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_backup.h b/src/bin/pg_dump/pg_backup.h
index 8c0cedcd983..b17c9dbb8be 100644
--- a/src/bin/pg_dump/pg_backup.h
+++ b/src/bin/pg_dump/pg_backup.h
@@ -71,7 +71,7 @@ typedef struct _restoreOptions
char *use_role; /* Issue SET ROLE to this */
int dropSchema;
int disable_dollar_quoting;
- int dump_inserts;
+ int dump_inserts; /* 0 = COPY, otherwise rows per INSERT */
int column_inserts;
int if_exists;
int no_comments; /* Skip comments */