Re: Moving sequences to another schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Moving sequences to another schema
Дата
Msg-id 11195.1119938493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Moving sequences to another schema  (Alvaro Herrera <alvherre@surnet.cl>)
Ответы Re: Moving sequences to another schema  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-hackers
Alvaro Herrera <alvherre@surnet.cl> writes:
> I think this is done by AddRelationRawConstraints.  You'd have to get
> the parsetree of the default expression.  I think you could get that by
> applying raw_parser() to pg_attrdef.adsrc.

Not adsrc --- that's not trustworthy.

In practice I think you could just assume you know what the default
expression ought to be, and store a new one without looking at the old.
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Problem with dblink regression test
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: commit_delay, siblings