Re: plan invalidation vs stored procedures

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: plan invalidation vs stored procedures
Дата
Msg-id b42b73150808061911m2470e737q9e75e05dcf5c35f0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: plan invalidation vs stored procedures  (Florian Pflug <fgp.phlo.org@gmail.com>)
Список pgsql-hackers
On Wed, Aug 6, 2008 at 3:29 PM, Florian Pflug <fgp.phlo.org@gmail.com> wrote:
> Merlin Moncure wrote:
>>
>> you missed the point...if your return type is a composite type that is
>> backed by the table (CREATE TABLE, not CREATE TYPE), then you can
>> 'alter' the type by altering the table.  This can be done without full
>> drop recreate of the function.
>
> Which - at least IMHO - clearly shows that we ought to support
> ALTER TYPE for composite types ;-)
>
> Is there anything fundamental standing in the way of that, or is it just
> that nobody yet cared enough about this?

I look at it from another perspective.  I see very little value in
'create type as'...it just creates a table that you can't insert to
and can't alter (but I agree).

merlin


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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: Proposal of SE-PostgreSQL patches [try#2]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch: plan invalidation vs stored procedures