Re: BDR Alter table failing

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: BDR Alter table failing
Дата
Msg-id 6a256340-6150-0ff8-24b6-ce766d72b586@aklaver.com
обсуждение исходный текст
Ответ на BDR Alter table failing  (Will McCormick <wmccormick@gmail.com>)
Ответы Re: BDR Alter table failing  (Will McCormick <wmccormick@gmail.com>)
Список pgsql-general
On 04/27/2016 07:13 AM, Will McCormick wrote:
> Why does this not work? From what I read only default values should
> cause issue. I'm on release 9.4.4:
>
>
> bms=# ALTER TABLE trap ALTER COLUMN trap_timestamp TYPE TIMESTAMP WITH
> TIME ZONE;
> ERROR:  ALTER TABLE ... ALTER COLUMN TYPE may only affect UNLOGGED or
> TEMPORARY
> tables when BDR is active; trap is a regular table

http://bdr-project.org/docs/stable/ddl-replication-statements.html

8.2.3. DDL statements with restrictions

ALTER TABLE

     Generally ALTER TABLE commands are allowed. There are a however
several sub-commands that are not supported, mainly those that perform a
full-table re-write.

...

ALTER COLUMN ... TYPE - changing a column's type is not supported.
Chaning a column in a way that doesn't require table rewrites may be
suppported at some point.

--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Will McCormick
Дата:
Сообщение: Re: BDR Alter Table
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: PG 9.5.2, freetds + tds_fdw => server crash