Re: "stored procedures" - use cases?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "stored procedures" - use cases?
Дата
Msg-id 648.1303856935@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "stored procedures" - use cases?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: "stored procedures" - use cases?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: "stored procedures" - use cases?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On mån, 2011-04-25 at 14:35 -0500, Kevin Grittner wrote:
>> (1)  All the \d commands in psql should be implemented in SPs so
>> that they are available from any client, through calling one SP
>> equivalent to one \d command.

> You don't need stored procedures with special transaction behavior for
> this.

No, but what you *would* need is the ability to return multiple result
sets from one call.  Even then, you could not exactly duplicate the
current output of \d; but you could duplicate the functionality.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: XML with invalid chars
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: "stored procedures" - use cases?