aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-12 23:06:38 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-12 23:06:38 -0400
commit791ef001c9fe980e32092227a72ec24a7d66fa3d (patch)
tree2bc706bd04a82c8f684d539212949007e62c8fa6 /src
parent2440c442d167d9d081a3e69c4fa78f3b6f8932e9 (diff)
downloadpostgresql-791ef001c9fe980e32092227a72ec24a7d66fa3d.tar.gz
postgresql-791ef001c9fe980e32092227a72ec24a7d66fa3d.zip
pg_dump: Fix harmless type mixup
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 9941111cda0..0b1574d401f 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -7953,7 +7953,7 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
tbinfo->attstattarget = (int *) pg_malloc(ntups * sizeof(int));
tbinfo->attstorage = (char *) pg_malloc(ntups * sizeof(char));
tbinfo->typstorage = (char *) pg_malloc(ntups * sizeof(char));
- tbinfo->attidentity = (char *) pg_malloc(ntups * sizeof(bool));
+ tbinfo->attidentity = (char *) pg_malloc(ntups * sizeof(char));
tbinfo->attisdropped = (bool *) pg_malloc(ntups * sizeof(bool));
tbinfo->attlen = (int *) pg_malloc(ntups * sizeof(int));
tbinfo->attalign = (char *) pg_malloc(ntups * sizeof(char));