From: Stephen Frost <sfrost@snowman.net>
To: Melvin Davidson <melvin6925@gmail.com>
Cc: Enrico Thierbach <eno@open-lab.org>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: SELECT .. FOR UPDATE: find out who locked a row
Date: Thu, 15 Mar 2018 22:45:14 -0400
Message-ID: <20180316024514.GA2416@tamriel.snowman.net> (raw)
In-Reply-To: <CANu8Fiyq8kFxMh5eoJVb4-5fCH=koXe02pd2rBGTF+cKYtqSLQ@mail.gmail.com>
References: <E269BF34-4CE1-47EC-8A80-F18DE55E2BEF@open-lab.org>
<20180315204851.GU2416@tamriel.snowman.net>
<CANu8FixnK=FJswaK8o=eWZ7smOTh=qpb8ciFAYd9oWUCS4tb1A@mail.gmail.com>
<206B6740-DCC5-4491-A87D-EEF5CBF8EA6B@open-lab.org>
<20180315220512.GV2416@tamriel.snowman.net>
<CANu8FiyPd5DUuP01RKjmYzxZcBFaPFfV6qZeiEzQJU5QAfx2jg@mail.gmail.com>
<20180316021411.GX2416@tamriel.snowman.net>
<CANu8Fiyq8kFxMh5eoJVb4-5fCH=koXe02pd2rBGTF+cKYtqSLQ@mail.gmail.com>
Greetings Melvin,
* Melvin Davidson (melvin6925@gmail.com) wrote:
> On Thu, Mar 15, 2018 at 10:14 PM, Stephen Frost <sfrost@snowman.net> wrote:
> > Changes will continue to be made between major versions of PostgreSQL
> > when they're deemed necessary; I'd suggest those applications be
> > prepared to adjust on a per-major-version basis when future changes
> > happen. We do have quite a bit of discussion about changes which are
> > made and they are not done so without good justification, but they can
> > and do happen.
>
> Yes, Stephen, I certainly understand making changes to system catalogs
> _when necessary_.
> That being said, the first change was the renaming of pid to procpid in
> pg_stat_activity.
> However, I contend that was more because someone felt that it was more to
> make the column names
> consistent across catalogs, rather than necessity. Care should be taken to
> consider the need and
> effect of changing EXISTING system columns. It may have been a mistake in
> originally naming it,
> but it was certainly working and not causing any problems at the time.
As mentioned earlier, care is taken when considering the need and effect
of changing existing system columns, but it can, and will, happen, and
therefore applications should be designed to cope with such changes
gracefully when they happen and tested thoroughly on each new major
version of PostgreSQL.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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-general@postgresql.org
Cc: sfrost@snowman.net, melvin6925@gmail.com, eno@open-lab.org
Subject: Re: SELECT .. FOR UPDATE: find out who locked a row
In-Reply-To: <20180316024514.GA2416@tamriel.snowman.net>
References: <E269BF34-4CE1-47EC-8A80-F18DE55E2BEF@open-lab.org> <20180315204851.GU2416@tamriel.snowman.net> <CANu8FixnK=FJswaK8o=eWZ7smOTh=qpb8ciFAYd9oWUCS4tb1A@mail.gmail.com> <206B6740-DCC5-4491-A87D-EEF5CBF8EA6B@open-lab.org> <20180315220512.GV2416@tamriel.snowman.net> <CANu8FiyPd5DUuP01RKjmYzxZcBFaPFfV6qZeiEzQJU5QAfx2jg@mail.gmail.com> <20180316021411.GX2416@tamriel.snowman.net> <CANu8Fiyq8kFxMh5eoJVb4-5fCH=koXe02pd2rBGTF+cKYtqSLQ@mail.gmail.com> <20180316024514.GA2416@tamriel.snowman.net>
* 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