Re: Improving ALTER TYPE support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improving ALTER TYPE support
Дата
Msg-id 28527.1148478770@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Improving ALTER TYPE support  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Improving ALTER TYPE support
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> I've been working on a function which returns a setof a composite type.
>> Everytime I've changed the structure of the returning setof, I've had to
>> change the type accordingly, which current means doing a drop type ...
>> cascade down to the function. We should allow one of the following:

> Why not go all the way and work out a way to define an SRF return type as a 
> part of the function?  e.g.

Um, isn't that exactly what the OUT parameter support already gives you,
ie, an anonymous record type?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: error-free disabling of individual child partition
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Updatable views/with check option parsing