Re: PATCH: Reducing lock strength of trigger and foreign key DDL - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: PATCH: Reducing lock strength of trigger and foreign key DDL
Date
Msg-id 54D6B66A.20008@proxel.se
Whole thread Raw
In response to Re: PATCH: Reducing lock strength of trigger and foreign key DDL  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: PATCH: Reducing lock strength of trigger and foreign key DDL  (Michael Paquier <michael.paquier@gmail.com>)
Re: PATCH: Reducing lock strength of trigger and foreign key DDL  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 01/30/2015 07:48 AM, Michael Paquier wrote:
> Looking at the latest patch, it seems that in
> AlterTableGetLockLevel@tablecmds.c we ought to put AT_ReAddConstraint,
> AT_AddConstraintRecurse and AT_ProcessedConstraint under the same
> banner as AT_AddConstraint. Thoughts?

A new version of the patch is attached which treats them as the same for
locking. I think it is correct and improves readability to do so.

--
Andreas Karlsson

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: parallel mode and parallel contexts
Next
From: Robert Haas
Date:
Subject: assessing parallel-safety