Re: [HACKERS] oversight in EphemeralNamedRelation support

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: [HACKERS] oversight in EphemeralNamedRelation support
Дата
Msg-id CAOBaU_aT_Rq7Uqd+203c92cA8eQtHwdHco5ErYb2sttFGQzW7g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] oversight in EphemeralNamedRelation support  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: [HACKERS] oversight in EphemeralNamedRelation support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Oct 9, 2017 at 10:43 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
>
> I suppose we could consider moving the schemaname check into
> getRTEForSpecialRelationType(), since otherwise both callers need to
> do that (and as you discovered, one forgot).

Thanks for the feedback.  That was my first idea, but I assumed there
could be future use for this function on qualified RangeVar if it
wasn't done this way.

I agree it'd be much safer, so v2 attached, check moved in
getRTEForSpecialRelationType().

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] oversight in EphemeralNamedRelation support
Следующее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] Partition-wise aggregation/grouping