Re: Skip ExecCheckRTPerms in CTAS with no data

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Skip ExecCheckRTPerms in CTAS with no data
Дата
Msg-id 20201116030431.GA4781@paquier.xyz
обсуждение исходный текст
Ответ на Re: Skip ExecCheckRTPerms in CTAS with no data  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Skip ExecCheckRTPerms in CTAS with no data
Список pgsql-hackers
On Fri, Nov 13, 2020 at 12:58:52PM +0530, Bharath Rupireddy wrote:
> It's not required to set bistate to null as we have allocated myState
> with palloc0 in CreateIntoRelDestReceiver, it will anyways be null.
>   if (!into->skipData)
>         myState->bistate = GetBulkInsertState();
>
> Attaching v4 patch. Please review it.

I have reviewed this one this morning, and applied it after some
tweaks.  I have reworded some of the comments, fixed some typos, and
largely refactored the test cases to stress all the combinations
possible.  Please note that your patch would have caused failures
in the buildfarm, as any role created needs to be prefixed with
"regress_".
--
Michael

Вложения

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

Предыдущее
От: Ian Lawrence Barwick
Дата:
Сообщение: Re: Corner-case bug in pg_rewind
Следующее
От: Seino Yuki
Дата:
Сообщение: Re: [PATCH] Add features to pg_stat_statements