postgresql/src/bin
Tom Lane 5c38a1d4ec Fix core dump in pg_dump --binary-upgrade on zero-column composite type.
This reverts nearly all of commit 28f6cab61a
in favor of just using the typrelid we already have in pg_dump's TypeInfo
struct for the composite type.  As coded, it'd crash if the composite type
had no attributes, since then the query would return no rows.

Back-patch to all supported versions.  It seems to not really be a problem
in 9.0 because that version rejects the syntax "create type t as ()", but
we might as well keep the logic similar in all affected branches.

Report and fix by Rushabh Lathia.
2014-10-17 12:49:00 -04:00
..
initdb Translation updates 2014-10-05 23:23:50 -04:00
pg_basebackup pg_recvlogical: Improve --help output 2014-10-12 01:54:25 -04:00
pg_config Translation updates 2014-10-05 23:23:50 -04:00
pg_controldata Translation updates 2014-10-05 23:23:50 -04:00
pg_ctl pg_ctl: Cast DWORD values to avoid -Wformat warnings. 2014-10-12 23:33:19 -04:00
pg_dump Fix core dump in pg_dump --binary-upgrade on zero-column composite type. 2014-10-17 12:49:00 -04:00
pg_resetxlog Translation updates 2014-10-05 23:23:50 -04:00
pgevent Properly use DEFAULT_EVENT_SOURCE in pgevent.c 2014-07-21 12:24:00 +02:00
psql psql: Fix \? output alignment 2014-10-13 22:22:20 -04:00
scripts Translation updates 2014-10-05 23:23:50 -04:00
Makefile