Re: pgsql: Cache by-reference missing values in a long lived context

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Cache by-reference missing values in a long lived context
Date: 2023-08-26 21:41:27
Message-ID: 209722.1693086087@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> On 2023-Aug-25, Tom Lane wrote:
>> ... Were we relying on "{ 0 }"
>> anywhere else pre-v12?

> We have a few occurrences of {0} in initializations in pg11, so it
> should work.

Ah, indeed. Objection withdrawn then.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-08-27 08:29:27 pgsql: Show names of DEALLOCATE as constants in pg_stat_statements
Previous Message Alvaro Herrera 2023-08-26 16:25:41 Re: pgsql: Cache by-reference missing values in a long lived context