live metadata changes v8.3.4

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема live metadata changes v8.3.4
Дата
Msg-id 482E80323A35A54498B8B70FF2B8798004D2D6172C@azsmsx504.amr.corp.intel.com
обсуждение исходный текст
Ответы Re: live metadata changes v8.3.4
Re: live metadata changes v8.3.4
Список pgsql-general

Hi:

 

How does one make a metadata change to a DB that's actively being used.  Specifically, I want to drop a view, drop some columns from a table that's used in the view, recreate the view without those columns.

 

In the past, I've resorted to connecting as a super user, running "select procpid from pg_stat_activity..." then pg_ctl kill ABRT <procpid>.  This would create a window where I could get in and make the change.  But it also created some angry users whos processes got killed.

 

V8.3.4 on linux.

 

Thanks for any advice !

 

 

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

Предыдущее
От: pasman pasmański
Дата:
Сообщение: Re: New feature: accumulative functions.
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: live metadata changes v8.3.4