diff options
author | Robert Haas <rhaas@postgresql.org> | 2019-03-18 23:20:35 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2019-03-18 23:21:36 -0400 |
commit | 53680c116ce8c501e4081332d32ba0e93aa1aaa2 (patch) | |
tree | 05110fd809efe6e89f6c7f4ec744a3b3869f855c /src/backend/nodes/copyfuncs.c | |
parent | 01bde4fa4c24f4eea0a634d8fcad0b376efda6b1 (diff) | |
download | postgresql-53680c116ce8c501e4081332d32ba0e93aa1aaa2.tar.gz postgresql-53680c116ce8c501e4081332d32ba0e93aa1aaa2.zip |
Fix copyfuncs/equalfuncs support for VacuumStmt.
Commit 6776142a07afb4c28961f27059d800196902f5f1 failed to do this,
and the buildfarm broke.
Patch by me, per advice from Tom Lane and Michael Paquier.
Discussion: http://postgr.es/m/13988.1552960403@sss.pgh.pa.us
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 6f3565ad205..c68bd7bcf73 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -3852,8 +3852,9 @@ _copyVacuumStmt(const VacuumStmt *from) { VacuumStmt *newnode = makeNode(VacuumStmt); - COPY_SCALAR_FIELD(options); + COPY_NODE_FIELD(options); COPY_NODE_FIELD(rels); + COPY_SCALAR_FIELD(is_vacuumcmd); return newnode; } |