Re: More WITH

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: More WITH
Дата
Msg-id 29334.1440183194@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: More WITH  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: More WITH
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> The existing syntax for FETCH already includes a way to specify the
> number of rows you want to fetch, as in this example from the
> documentation:
> FETCH FORWARD 5 FROM liahona;
> Why wouldn't that work here too?

Mm, okay, but you still have the other objections to address.

(And it remains the case that you can do this today with a plpgsql
function, which solves the indeterminate-rowtype problem by nailing
down the rowtype at the function result level.)
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: More WITH
Следующее
От: Robert Haas
Дата:
Сообщение: Re: More WITH