Re: pg_extension_config_dump() function and sequences

От: Peter Eisentraut
Тема: Re: pg_extension_config_dump() function and sequences
Дата: ,
Msg-id: 571451BF.9070606@gmx.net
(см: обсуждение, исходный текст)
Ответ на: Re: pg_extension_config_dump() function and sequences  (Philippe BEAUDOIN)
Ответы: Re: pg_extension_config_dump() function and sequences  (Michael Paquier)
Список: pgsql-docs

Скрыть дерево обсуждения

pg_extension_config_dump() function and sequences  (Philippe BEAUDOIN, )
 Re: pg_extension_config_dump() function and sequences  (Michael Paquier, )
  Re: pg_extension_config_dump() function and sequences  (Philippe BEAUDOIN, )
   Re: pg_extension_config_dump() function and sequences  (Peter Eisentraut, )
    Re: pg_extension_config_dump() function and sequences  (Michael Paquier, )

On 01/19/2016 03:14 PM, Philippe BEAUDOIN wrote:
> Le 18/01/2016 07:10, Michael Paquier a écrit :
>> On Wed, Jan 6, 2016 at 5:29 AM, Philippe BEAUDOIN <>
>> wrote:

>>> The pg_extension_config_dump() function can also register sequences,
>>> so that
>>> the current properties of the registered sequences are saved by
>>> pg_dump and
>>> later restored. The function can support sequences either explicitely
>>> created with an ALTER SEQUENCE statement or implicitely created when
>>> a table
>>> contains SERIAL or BIGSERIAL columns. Note that the sequences
>>> associated to
>>> SERIAL or BIGSERIAL columns of a configuration table need to be
>>> registered
>>> using the pg_extension_config_dump() function if one wants to restore
>>> the
>>> properties they had at pg_dump time.
>> Instead of a single paragraph, perhaps we could make things more
>> generic like in the attached?
> It looks much better, indeed.

committed




В списке pgsql-docs по дате сообщения:

От: Alexander Law
Дата:
Сообщение: Some minor error fixes
От: "Gunnar \"Nick\" Bluth"
Дата:
Сообщение: Actual RC of "restore_command" is relevant for DB startup