>
> Does what you describe actually work in the current backend?
>
> The problem on the libpq side is basically that the PGresult structure
> is not able to represent more than one tuple descriptor. AFAICS, we can't
> tamper with that without breaking all existing applications. However,
> if we make the changes being discussed in this thread then it would be
> a simple matter to return a *series* of PGresult structures for this
> sort of query.
>
> Whether an application is capable of handling that is another story,
> but at least the data could be passed through.
>
I would move forward, and see if anything breaks. If the regression
tests pass, that is a good sign it works.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)