Re: error-free disabling of individual child partition

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: error-free disabling of individual child partition
Дата
Msg-id 20060522193930.GK64371@pervasive.com
обсуждение исходный текст
Ответ на Re: error-free disabling of individual child partition  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: error-free disabling of individual child partition
Список pgsql-hackers
On Mon, May 22, 2006 at 03:28:39PM -0400, Andrew Dunstan wrote:
> Jim C. Nasby wrote:
> >
> >BEGIN;
> >-- Don't do the drop right now, because it might take awhile
> >ALTER TABLE tablename RENAME TO delete_tablename;
> >ALTER TABLE temporary_tablename RENAME TO tablename;
> >COMMIT;
> >DROP delete_tablename;
> >
> >  
> 
> What if there are dependencies? Might be better to have a view, which 
> everything depends on, and change the view definition from one table to 
> another back and forth.

What dependencies would there be that a view would solve? You can't
define RI on a view AFAIK...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Porting MSSQL to PGSQL (Was: [OT] MySQL is bad, but THIS bad?)
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Update on sort-compression stuff