Re: Replace Old Table with New

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Replace Old Table with New
Дата
Msg-id 2287.1000994445@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Replace Old Table with New  ("David Lebling" <dlebling@ucentric.com>)
Список pgsql-novice
"David Lebling" <dlebling@ucentric.com> writes:
> What command would achieve this? I'm using a somewhat dusty PostgreSql
> (6.5.3).

>> ALTER TABLE an-index RENAME TO an-index-new-name;
> ERROR: TypeRename: type an-index not defined

In less-dusty Postgreses, ALTER TABLE RENAME works on indexes.  I'd
recommend an update for many reasons besides this one ;-)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: VACUUM vs VACUUM ANALYZE vs CLUSTER
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VACUUM vs VACUUM ANALYZE vs CLUSTER