Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
Date: 2019-03-22 13:21:45
Message-ID: CAKJS1f_MhS++XngkTvWL9X1v8M5t-0N0B-R465yHQY=TmNV0Ew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Fri, 8 Mar 2019 at 05:39, Robert Haas <rhaas(at)postgresql(dot)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 Content-Type Size
fixup_sizeof_relid_map.patch application/octet-stream 1.2 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-03-22 13:42:39 pgsql: Fix ICU tests for older ICU versions
Previous Message Heikki Linnakangas 2019-03-22 12:59:41 pgsql: More portability fixes for integerset tests.