Skip site navigation (1) Skip section navigation (2)

Re: Reducing some DDL Locks to ShareLock

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reducing some DDL Locks to ShareLock
Date: 2008-10-07 15:15:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> 2. Also need to decide whether we want pg_class.reltriggers as int2 (as
> implemented here) or switch to relhastriggers as boolean.

I'd go for changing the column name/type.  Yeah, you will break any
clients that are still trying to manipulate reltriggers directly, but
better to break them obviously than non-obviously.  And I think a silent
change in the column semantics has significant risk of the latter.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Dave PageDate: 2008-10-07 15:19:21
Subject: Re: [PATCHES] Infrastructure changes for recovery
Previous:From: Simon RiggsDate: 2008-10-07 15:12:28
Subject: Re: Reducing some DDL Locks to ShareLock

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group