Re: table rename oddity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: table rename oddity
Дата
Msg-id 22829.959267733@sss.pgh.pa.us
обсуждение исходный текст
Ответ на table rename oddity  (Ari Jolma <ajolma@water.hut.fi>)
Список pgsql-general
Ari Jolma <ajolma@water.hut.fi> writes:
> Is this kind of behavior intended. When I try to rename a table to
> a reserved word -  I have tried to use 'lseg' which is a type - postgres
> gives me an error but the change has been partly done and the
> only way back seems to be to go to the database directory and
> rename the file. I have tested this with version 7.0.

Boo hiss --- the physical file rename must be the *last* step in
table rename, after all other possible errors have been checked.
Evidently it's not :-(.  Will fix.

            regards, tom lane

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

Предыдущее
От: "Terry Van Belle"
Дата:
Сообщение: Public Domain SQL grammars?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problem with NOTICE: _outNode: don't know how to print type