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

Re: time table for beta1

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Dan Ports <drkp(at)csail(dot)mit(dot)edu>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: time table for beta1
Date: 2011-04-04 18:56:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, Apr 4, 2011 at 2:50 PM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Dan Ports <drkp(at)csail(dot)mit(dot)edu> wrote:
>>> I see Robert committed that one already. If there's a consensus
>>> that omitting the pid for committed transactions is the right
>>> thing to do, I'm happy to put together a patch. I think that is a
>>> better approach than trying to keep it after commit until the
>>> connection closes, but all of this is sufficiently minor that
>>> it's probably not worth worrying much about.
>> I couldn't really figure out why that would be better, but if
>> there's a reason I'm fine with it.
> If people think that showing the pid which created the lock after
> the process has terminated is confusing, the reason I would lean
> toward not showing it after transaction completion is that we can
> check a bit-flag field which is already in front of us rather than
> making calls out to other code for each lock, which might get
> expensive, and perhaps compromise modularity.

Well, the flip side is that if you have appropriate logging turned on,
you might be able to go back and look at what the transaction that
took the lock actually did, which won't be possible if you arbitrarily
throw the PID away.

I'm not going to lose any sleep about this one whatever we decide, but
my gut is that we have more important things to tinker with.

Robert Haas
The Enterprise PostgreSQL Company

In response to


pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2011-04-04 18:57:46
Subject: Re: Disable optimization when in subtransaction
Previous:From: Robert HaasDate: 2011-04-04 18:52:11
Subject: Re: GUC assign hooks (was Re: wal_buffers = -1 and SIGHUP)

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