Don't choke when exec_move_row assigns a synthesized null to a column

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 38a7ddc5f7d241a162a0aa57d0ba768f97d17264
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-02-12T19:38:08Z
Releases: 8.1.20
Don't choke when exec_move_row assigns a synthesized null to a column
that happens to be composite itself.  Per bug #5314 from Oleg Serov.

Backpatch to 8.0 --- 7.4 has got too many other shortcomings in
composite-type support to make this worth worrying about in that branch.

Files

PathChange+/−
src/pl/plpgsql/src/pl_exec.c modified +15 −15