pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Noah Misch <noah@leadboat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Zhihong Yu <zyu@yugabyte.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: unnesting multirange data types
Date: Sat, 10 Jul 2021 17:20:21 -0500
Message-ID: <20210710222021.GE1301@telsasoft.com> (raw)
In-Reply-To: <CAPpHfdsWE0aWtS89r2Jadff-4UcU-=zbg__m+E2RzMWWDmuyVA@mail.gmail.com>
References: <CAPpHfdv9OZEuZDqOQoUKpXhq=mc-qa4gKCPmcgG5Vvesu7=s1w@mail.gmail.com>
	<202107101634.s6rujyk7wklj@alvherre.pgsql>
	<CAPpHfdsWE0aWtS89r2Jadff-4UcU-=zbg__m+E2RzMWWDmuyVA@mail.gmail.com>

On Sun, Jul 11, 2021 at 01:00:27AM +0300, Alexander Korotkov wrote:
> On Sat, Jul 10, 2021 at 7:34 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> > On 2021-Jun-27, Alexander Korotkov wrote:
> >
> > > BTW, I found some small inconsistencies in the declaration of
> > > multirange operators in the system catalog.  Nothing critical, but if
> > > we decide to bump catversion in beta3, this patch is also nice to
> > > push.
> >
> > Hmm, I think you should push this and not bump catversion.  That way,
> > nobody is forced to initdb if we end up not having a catversion bump for
> > some other reason; but also anybody who initdb's with beta3 or later
> > will get the correct descriptions.
> >
> > If you don't push it, everybody will have the wrong descriptions.
> 
> True, but I'm a bit uncomfortable about user instances with different
> catalogs but the same catversions.  On the other hand, initdb's with
> beta3 or later will be the vast majority among pg14 instances.
> 
> Did we have similar precedents in the past?

It seems so.

Note in particular 74ab96a45, which adds a new function with no bump.
Although that one may not be a good precedent to follow, or one that's been
followed recently.

commit 0aac73e6a2602696d23aa7a9686204965f9093dc
Author: Noah Misch <noah@leadboat.com>
Date:   Mon Jun 14 17:29:37 2021 -0700

    Copy-edit text for the pg_terminate_backend() "timeout" parameter.

commit b09a64d602a19c9a3cc69e4bb0f8986a6f5facf4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Thu Sep 20 16:06:18 2018 -0400

    Add missing pg_description strings for pg_type entries.

commit a4627e8fd479ff74fffdd49ad07636b79751be45
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Tue Feb 2 11:39:50 2016 -0500

    Fix pg_description entries for jsonb_to_record() and jsonb_to_recordset().

commit b852dc4cbd09156e2c74786d5b265f03d45bc404
Author: Bruce Momjian <bruce@momjian.us>
Date:   Wed Oct 7 09:06:49 2015 -0400

    docs:  clarify JSONB operator descriptions

commit a80889a7359e720107b881bcd3e8fd47f3874e36
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Wed Oct 10 12:19:25 2012 -0400

    Set procost to 10 for each of the pg_foo_is_visible() functions.

commit c246eb5aafe66d5537b468d6da2116c462775faf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Sat Aug 18 16:14:57 2012 -0400

    Make use of LATERAL in information_schema.sequences view.

commit 74ab96a45ef6259aa6a86a781580edea8488511a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:   Wed Jan 25 13:15:29 2012 -0300

    Add pg_trigger_depth() function

commit ddd6ff289f2512f881493b7793853a96955459ff
Author: Bruce Momjian <bruce@momjian.us>
Date:   Tue Mar 15 11:26:20 2011 -0400

    Add database comments to template0 and postgres databases, and improve





view thread (66+ messages)  latest in thread

Message-ID: <20210710222021.GE1301@telsasoft.com>
Permalink:  ../20210710222021.GE1301@telsasoft.com/
Also on:    postgresql.org/message-id/20210710222021.GE1301@telsasoft.com

 · 

reply

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-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, aekorotkov@gmail.com, alvherre@alvh.no-ip.org, noah@leadboat.com, tgl@sss.pgh.pa.us, jkatz@postgresql.org, zyu@yugabyte.com
  Subject: Re: unnesting multirange data types
  In-Reply-To: <20210710222021.GE1301@telsasoft.com>
  References: <CAPpHfdv9OZEuZDqOQoUKpXhq=mc-qa4gKCPmcgG5Vvesu7=s1w@mail.gmail.com> <202107101634.s6rujyk7wklj@alvherre.pgsql> <CAPpHfdsWE0aWtS89r2Jadff-4UcU-=zbg__m+E2RzMWWDmuyVA@mail.gmail.com> <20210710222021.GE1301@telsasoft.com>

* 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