Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> Obviously, this is not a very robust programming interface, if the same
>> mistake has been repeated three times independently.
> Yeah :-(. How about adding an Assert as in the attached?
I cleaned up the issues in \dy and committed this.
regards, tom lane