Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock. - Mailing list pgsql-committers

From David Rowley
Subject Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
Date
Msg-id CAKJS1f_MhS++XngkTvWL9X1v8M5t-0N0B-R465yHQY=TmNV0Ew@mail.gmail.com
Whole thread Raw
In response to pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.  (Robert Haas <rhaas@postgresql.org>)
Responses Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
List pgsql-committers
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.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: More portability fixes for integerset tests.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix ICU tests for older ICU versions