aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-18 17:11:01 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-18 17:11:01 -0400
commit35d6ce97e78be24eca29226b3b67ca9a3a1384fd (patch)
tree27318f9d49d1f5c94f7776392a8fa9ad44edea48 /src/backend/executor/nodeHashjoin.c
parent8c1501b292895bb883eaf6663934e9f7c45b043d (diff)
downloadpostgresql-35d6ce97e78be24eca29226b3b67ca9a3a1384fd.tar.gz
postgresql-35d6ce97e78be24eca29226b3b67ca9a3a1384fd.zip
Fix pg_dump to dump casts between auto-generated types.
The heuristic for when to dump a cast failed for a cast between table rowtypes, as reported by Frédéric Rejol. Fix it by setting the "dump" flag for such a type the same way as the flag is set for the underlying table or base type. This won't result in the auto-generated type appearing in the output, since setting its objType to DO_DUMMY_TYPE unconditionally suppresses that. But it will result in dumpCast doing what was intended. Back-patch to 8.3. The 8.2 code is rather different in this area, and it doesn't seem worth any risk to fix a corner case that nobody has stumbled on before.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions