From: i@avdd.co
To: pgsql-bugs@postgresql.org
Subject: BUG #7511: 9.2: pg_stat_activity.procpid renamed unnecessarily
Date: Thu, 30 Aug 2012 04:34:18 +0000
Message-ID: <E1T6wSQ-0005kN-LD@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 7511
Logged by: Adrian Dries
Email address: i@avdd.co
PostgreSQL version: Unsupported/Unknown
Operating system: any
Description:
In trying 9.2 I find pg_stat_activity.procpid has been renamed to pid.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=4f42b546fd87a80be30c53a0f2c897acb8...
It seems the premise of this is
If we're going to rename current_query to query--what Scott's patch does
here--that will force all code using pg_stat_activity to be rewritten. This
seems like the perfect time to also change "procpid" to "pid", finally blow
away that wart.
A premise that is untrue: changing a subset of columns on a relation does
not force "all code" using that relation to be rewritten:
SELECT procpid FROM pg_stat_activity WHERE procpid <> pg_backend_pid()
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: i@avdd.co
Subject: Re: BUG #7511: 9.2: pg_stat_activity.procpid renamed unnecessarily
In-Reply-To: <E1T6wSQ-0005kN-LD@wrigleys.postgresql.org>
References: <E1T6wSQ-0005kN-LD@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox