1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Fix copyfuncs/equalfuncs support for VacuumStmt.

Commit 6776142a07 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
This commit is contained in:
Robert Haas
2019-03-18 23:20:35 -04:00
parent 01bde4fa4c
commit 53680c116c
2 changed files with 4 additions and 2 deletions

View File

@ -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;
}