Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.
Дата
Msg-id 22870.1504911026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.
Список pgsql-committers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> On Sat, Sep 9, 2017 at 10:23 AM, Thomas Munro
> <thomas.munro@enterprisedb.com> wrote:
>> map_partition_varattnos() doesn't always write to *found_whole_row, so
>> it's uninitialised here in generate_partition_qual():

That was the first thing I thought of ...

> Hmm, no.  I take that back.

... and I looked at map_variable_attnos and decided it was fine, too.

But it ain't.  It's failing on empty partition expressions, and there's
a short-circuit exit from map_partition_varattnos.

Will fix.
        regards, tom lane


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

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix uninitialized-variable bug.