postgresql/src/bin
Tom Lane b4cecb519b 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.
2011-10-18 17:11:18 -04:00
..
initdb Translation updates 2011-09-22 22:13:43 +03:00
ipcclean Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:23:05 -04:00
pg_config Translation updates 2011-09-22 22:13:43 +03:00
pg_controldata Translation updates 2011-09-22 22:13:43 +03:00
pg_ctl Translation updates 2011-09-22 22:13:43 +03:00
pg_dump Fix pg_dump to dump casts between auto-generated types. 2011-10-18 17:11:18 -04:00
pg_resetxlog Translation updates 2011-09-22 22:13:43 +03:00
pgevent Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
psql Translation updates 2011-09-22 22:13:43 +03:00
scripts Translation updates 2011-09-22 22:13:43 +03:00
Makefile Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00