Re: ALTER TABLE name RENAME TO new_name; does not work immediately

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: ALTER TABLE name RENAME TO new_name; does not work immediately
Дата
Msg-id 873aldelra.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: ALTER TABLE name RENAME TO new_name; does not work immediately  (megous@gmail.com)
Ответы Re: ALTER TABLE name RENAME TO new_name; does not work immediately  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-bugs
<megous@gmail.com> writes:

> Here is a script that is able to reproduce the problem (on my machine
> anyway), you may need to play with the number of rows or workmem
> settings to be able to reproduce it:

Egads, i can confirm that this script reproduces the problem on my machine as
well:

ALTER TABLE xxx RENAME TO yyy;
ALTER TABLE
ALTER TABLE yyy RENAME COLUMN  col1 TO colA;
ERROR:  relation "yyy" does not exist



--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's 24x7 Postgres support!

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

Предыдущее
От: megous@gmail.com
Дата:
Сообщение: Re: ALTER TABLE name RENAME TO new_name; does not work immediately
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: ALTER TABLE name RENAME TO new_name; does not work immediately