Re: OWNER TO on all objects

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: OWNER TO on all objects
Дата
Msg-id 40CE8519.7080101@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: OWNER TO on all objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> So that the initial owner is still owner when he does COPY, ALTER TABLE
> ADD PRIMARY KEY, etc etc.  Else you're gonna have problems.

I was thinking of doing all COPY and ALTER as superuser as well...

Or are you trying to make it work when run as non-super?  Which is won't 
since ALTER OWNER will require superuser.

ie. the entire script always runs as a single user, most usefully a 
superuser.

Chris


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: OWNER TO on all objects
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: #postgresql report