Re: Inline Extension

Поиск
Список
Период
Сортировка
От Cédric Villemain
Тема Re: Inline Extension
Дата
Msg-id CAF6yO=1ALJYv8o_2smxfP8zeAC332RSajBMpC9HxUPbo=B4aug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Inline Extension  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: Inline Extension  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
>> So I'm going to prepare the next version of the patch with this design:
>>
>> - in catalog extension scripts for inline extension
>>
>>   pg_extension_script(extoid, oldversion, version, script)
>>
>>   oldversion is null when create extension is used
>>   unless when using the create extension from 'unpackaged' form
>
> Would you keep all the migration scripts used over time to upgrade from one version to another?

yes, that is the idea. You then can play all the stack of SQL needed
to go from version "foo" to version "bar" (we don't care about version
format, here again).

>> - same as we have -t, add -e --extension to pg_dump so that you can
>>   choose to dump only a given extension
>
> Also --exclude-extension?

It might be the default.
We need something to dump the content of
pg_catalog.pg_extension_script (or whatever table is going to contain
SQL code), per extension or all.

--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation


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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: patch: ALTER TABLE IF EXISTS
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: patch: ALTER TABLE IF EXISTS