This is an automated email from the ASF dual-hosted git repository. Smyatkin-Maxim pushed a commit to branch pg-dump-rebase-REL-2 in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 35f7b4491d4f0e57d629013fc7e5ec1e452e0693 Author: xiaoxiao <[email protected]> AuthorDate: Thu Mar 2 17:42:36 2023 +0800 Fix pg_dump small bug (#14991) I met this error when I tried to use pg_dump in main branch to dump ao table from gpdb6. Co-authored-by: gpadmin <[email protected]> --- src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 4c371179c7e..3e9bfa834b5 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -17870,7 +17870,7 @@ dumpTableSchema(Archive *fout, const TableInfo *tbinfo) * from <= GPDB6. */ if (fout->remoteVersion < GPDB7_MAJOR_PGVERSION && - (*tbinfo->partclause && *tbinfo->partclause != '\0')) + (tbinfo->partclause && *tbinfo->partclause != '\0')) { /* partition by clause */ appendPQExpBuffer(q, " %s", tbinfo->partclause); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
