Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
Дата
Msg-id CA+Tgmoa2EGskFr8ERycUVQvWSqqEUD0e2saHr0x+wKuEhHdE5A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-committers
On Fri, Mar 22, 2019 at 9:21 AM David Rowley
<david.rowley@2ndquadrant.com> wrote:
> On Fri, 8 Mar 2019 at 05:39, Robert Haas <rhaas@postgresql.org> wrote:
> > src/backend/partitioning/partprune.c   |   7 +-
>
> I've attached a small patch that fixes a couple of incorrect sizeof()
> calculations new in this commit.
>
> Perhaps only a problem if sizeof(int) is not the same as sizeof(Oid),
> but incorrect never-the-less.

Thanks.  Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix use of wrong datatype with sizeof().
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Refactor code to print pgbench progress reports.