The RLS patch added a hasRowSecurity field to PlannerGlobal and PlannedStmt but didn't update nodes/copyfuncs.c and nodes/outfuncs.c to reflect those additional fields.
Correct that by adding entries to the appropriate functions for those fields.
Pointed out by Robert.
62a4a1a Add hasRowSecurity to copyfuncs/outfuncs
src/backend/nodes/copyfuncs.c | 1 +
src/backend/nodes/outfuncs.c | 2 ++
2 files changed, 3 insertions(+)
Upstream: git.postgresql.org