Re: Error from the foreign RDBMS on a foreign table I have no privilege on

Поиск
Список
Период
Сортировка
Искать
От
Kyotaro Horiguchi
Тема
Re: Error from the foreign RDBMS on a foreign table I have no privilege on
Дата
Msg-id
20220608.130816.822771466101014478.horikyota.ntt@gmail.com
Ответ на
Список
Дерево обсуждения
Error from the foreign RDBMS on a foreign table I have no privilege on Phil Florent <philflorent@hotmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on "Euler Taveira" <euler@eulerto.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Tom Lane <tgl@sss.pgh.pa.us>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Etsuro Fujita <etsuro.fujita@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Etsuro Fujita <etsuro.fujita@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Etsuro Fujita <etsuro.fujita@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Laurenz Albe <laurenz.albe@cybertec.at>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Etsuro Fujita <etsuro.fujita@gmail.com>
Re: Error from the foreign RDBMS on a foreign table I have no privilege on Phil Florent <philflorent@hotmail.com>
At Tue, 07 Jun 2022 23:04:52 -0400, Tom Lane  wrote in 
> Laurenz Albe  writes:
> > On Wed, 2022-06-08 at 11:12 +0900, Kyotaro Horiguchi wrote:
> > RangeTblEntry *rte = root->simple_rte_array[i];
> > aclcheck_error(ACLCHECK_NO_PRIV,
> >    get_relkind_objtype(rte->relkind),
> >    get_rel_name(rte->relid));
> 
> I think it's completely inappropriate for FDWs to be taking it on
> themselves to inject privilege checks.  The system design is that
> that is checked at executor start; not before, not after.

Ah, yes.  It's not good that checking it at multiple stages, and the
only one place should be executor start.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления
От: Kyotaro Horiguchi
Дата:
От: Amit Kapila
Дата:
FAQ