Re: Extending grant insert on tables to sequences

Поиск
Список
Период
Сортировка
Искать
От
Abhijit Menon-Sen
Тема
Re: Extending grant insert on tables to sequences
Дата
Msg-id
20080709185837.GA27406@toroid.org
Ответ на
Список
Дерево обсуждения
Re: [PATCHES] Extending grant insert on tables to sequences Alvaro Herrera <alvherre@commandprompt.com>
Re: Extending grant insert on tables to sequences Abhijit Menon-Sen <ams@oryx.com>
Re: Extending grant insert on tables to sequences Alvaro Herrera <alvherre@commandprompt.com>
Re: Extending grant insert on tables to sequences Abhijit Menon-Sen <ams@oryx.com>
Re: Extending grant insert on tables to sequences Bruce Momjian <bruce@momjian.us>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences Stephen Frost <sfrost@snowman.net>
Re: Extending grant insert on tables to sequences Tom Lane <tgl@sss.pgh.pa.us>
Re: Extending grant insert on tables to sequences Stephen Frost <sfrost@snowman.net>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences Abhijit Menon-Sen <ams@oryx.com>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences Abhijit Menon-Sen <ams@oryx.com>
Re: Extending grant insert on tables to sequences Tom Lane <tgl@sss.pgh.pa.us>
Re: Extending grant insert on tables to sequences "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Extending grant insert on tables to sequences Tom Lane <tgl@sss.pgh.pa.us>
Re: Extending grant insert on tables to sequences Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] Extending grant insert on tables to sequences "Jaime Casanova" <systemguards@gmail.com>
At 2008-07-08 09:32:44 -0400, alvherre@commandprompt.com wrote:
>
> > > The idea of this patch is to avoid the need to make explicit
> > > grants on sequences owned by tables. [...]
>
> I had a look at this patch and it looks good.  The only thing that's
> not clear to me is whether we have agreed we want this to be the
> default behavior?

For what it's worth, I quite like the idea.

(I looked at the patch, and it looks good to me too.)

> Wouldn't it be clearer to build a list with all the sequences owned by
> the tables in istmt.objects, and then call ExecGrantStmt_oids() a
> single time with the big list?

i.e., to hoist most of the istmt_seq initialisation out of the loop,
right? Yes, that makes sense.

-- ams

В списке pgsql-hackers по дате отправления
От: Neil Conway
Дата:
От: Ken Camann
Дата:
FAQ