Re: PG 14 release notes, first draft

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joe Conway <mail(at)joeconway(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PG 14 release notes, first draft
Date: 2021-05-11 20:01:13
Message-ID: 20210511200113.GW6088@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 11, 2021 at 03:51:39PM -0400, Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
> > On 5/11/21 1:30 PM, Bruce Momjian wrote:
> >> It just feels like this change makes the function's behavior less
> >> consistent.
>
> > See Tom's commit message here:
> > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3d0f68dd30612
>
> > In particular:
>
> > "The variants of these functions that take
> > numeric inputs (OIDs or column numbers) are
> > supposed to return NULL rather than failing
> > on bad input; this rule reduces problems with
> > snapshot skew when queries apply the functions
> > to all rows of a catalog."
>
> Yeah, the null-return-for-bad-numeric-input behavior is important.
> Perhaps a case could be made for returning null for bad text
> input too, but I don't recall that anybody has asked for that.
>
> A case could also be made that changing the behavior on the text
> side would break applications that expect the current behavior.
> So I'm disinclined to make a wholesale change there, without more
> evidence that it's a good idea.

OK, as long as we thought about this, I am fine.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-05-11 20:01:28 Re: Why do we have perl and sed versions of Gen_dummy_probes?
Previous Message Pavel Borisov 2021-05-11 19:53:29 Re: Let's get rid of serial_schedule