Обсуждение: pgsql: Allow ALTER SEQUENCE START WITH to change the recorded

Поиск
Список
Период
Сортировка

pgsql: Allow ALTER SEQUENCE START WITH to change the recorded

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Allow ALTER SEQUENCE START WITH to change the recorded start_value of a
sequence.  This seems an obvious extension to the recent patch, and it
makes the code noticeably cleaner and more orthogonal.

Modified Files:
--------------
    pgsql/doc/src/sgml/ref:
        alter_sequence.sgml (r1.20 -> r1.21)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/alter_sequence.sgml?r1=1.20&r2=1.21)
    pgsql/src/backend/commands:
        sequence.c (r1.151 -> r1.152)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/sequence.c?r1=1.151&r2=1.152)