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 87proidr6l.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на ALTER TABLE name RENAME TO new_name; does not work immediately  (megous@gmail.com)
Список pgsql-bugs
<megous@gmail.com> writes:

> ALTER TABLE name RENAME TO new_name;
> ALTER TABLE new_name
>   RENAME COLUMN x TO y;
>
...
> I think the issue might be reproducible by creating table with a lot
> of rows, setting high work_mem and issuing the commands, but I did not
> try to reproduce it this way.

The commands you described should take the same length of time regardless of
the size of table and the memory settings are not relevant. I suspect you're
actually running some different commands?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's On-Demand Production Tuning

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

Предыдущее
От: megous@gmail.com
Дата:
Сообщение: Re: ALTER TABLE name RENAME TO new_name; does not work immediately
Следующее
От: Richard Evans
Дата:
Сообщение: Re: BUG #3818: Cross compilation problems