change ownership on all tables

Поиск
Список
Период
Сортировка
От Alan McKay
Тема change ownership on all tables
Дата
Msg-id 844129e80907311132x4ba23ef0n128b0d873058c1fe@mail.gmail.com
обсуждение исходный текст
Ответы Re: change ownership on all tables
Список pgsql-general
OK, my DB Admin is on vacation, and 15 minutes of googling didn't get
me the answer :-)

Although in that 15 minutes I could have done all 109 tables manually :-)

I know this command for a single table, and checked the manual but
don't see anything about wildcards

ALTER TABLE tablename OWNER to user;

PG 8.4

--
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"

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

Предыдущее
От: "Arnold, Sandra"
Дата:
Сообщение: Re: Limiting records in pg_dump
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Can I have a look at your TuningWizard generated config file?