Peter Eisentraut <peter_e@gmx.net> writes:
> Here is the patch to fix that, as discussed.
Looks sane --- I assume you tested it against the originally
complained-of scenario?
http://archives.postgresql.org/message-id/201103111328.p2BDSFd10499@momjian.us
If so, please apply soon --- we need to wrap beta1 this evening.
regards, tom lane