summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ad7c0376c9b..607167c5023 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -16532,7 +16532,7 @@ dumpIndexAttach(Archive *fout, IndexAttachInfo *attachinfo)
attachinfo->dobj.name,
attachinfo->dobj.namespace->dobj.name,
NULL,
- "",
+ attachinfo->parentIdx->indextable->rolname,
false, "INDEX ATTACH", SECTION_POST_DATA,
q->data, "", NULL,
NULL, 0,