Re: Altering array(composite-types) without breaking code when inserting them and similar questions

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Altering array(composite-types) without breaking code when inserting them and similar questions
Дата
Msg-id CAHyXU0y0ABYbve7q=PwE0uTsfN_fYA7y_cyU-brbrrKy_4QvJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Altering array(composite-types) without breaking code when inserting them and similar questions  (Dorian Hoxha <dorian.hoxha@gmail.com>)
Список pgsql-general
On Tue, Apr 29, 2014 at 2:40 PM, Dorian Hoxha <dorian.hoxha@gmail.com> wrote:
> So :
>
> drop function
> alter type: add column
> create again function with new default argument in a transaction ?

Yeah -- something like that.  Try it out (carefully).  AIUI, In most
cases the function execution will be inlined so the performance hit
should be minimal vs raw insert.

merlin


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

Предыдущее
От: Jeff Johnston
Дата:
Сообщение: Re: Ingres to Postgres migration
Следующее
От: Andy Colson
Дата:
Сообщение: Re: Ingres to Postgres migration