aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
-rw-r--r--src/bin/pg_dump/pg_dump.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index 9d6a4857c4b..ca32f167878 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -442,6 +442,13 @@ typedef struct _relStatsInfo
float reltuples;
int32 relallvisible;
char relkind; /* 'r', 'm', 'i', etc */
+
+ /*
+ * indAttNames/nindAttNames are populated only if the relation is an index
+ * with at least one expression column; we don't need them otherwise.
+ */
+ char **indAttNames; /* attnames of the index, in order */
+ int32 nindAttNames; /* number of attnames stored (can be 0) */
bool postponed_def; /* stats must be postponed into post-data */
} RelStatsInfo;