Re: Proposal: http2 wire format
От | Peter Eisentraut |
---|---|
Тема | Re: Proposal: http2 wire format |
Дата | |
Msg-id | 30757dea-858e-4deb-7d05-ee084eb9bc00@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Proposal: http2 wire format (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: Proposal: http2 wire format
|
Список | pgsql-hackers |
On 3/29/18 14:20, Andres Freund wrote: > On 2018-03-28 20:34:13 -0400, Peter Eisentraut wrote: >> On 3/28/18 12:09, Andres Freund wrote: >>> Yea, not the most descriptive... Returning multiple different resultsets >>> from a function / procedure. Inability to do so is a serious limitation >>> of postgres in comparison to some other language with procedures. >> >> This is already possible as far as the protocol is concerned. > > Huh, I don't see how? See example here: https://www.postgresql.org/message-id/4580ff7b-d610-eaeb-e06f-4d686896b93b%402ndquadrant.com More simply, you can already do this with psql like this: => SELECT * FROM tbl1\; SELECT * FROM tbl2; This will ship multiple result sets. psql chooses to only display the last one. This is also discussed in the above thread. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: