Re: not null constraints, again - Mailing list pgsql-hackers

From Tom Lane
Subject Re: not null constraints, again
Date
Msg-id 1734523.1744751562@sss.pgh.pa.us
Whole thread Raw
In response to Re: not null constraints, again  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2025-Apr-15, Tom Lane wrote:
>> Looking at the patch itself, it doesn't seem like the got_children
>> flag is accomplishing anything;

> Ah yes, I forgot to set got_children when reading the children list.
> This happens within the loop for columns, so the idea is to obtain that
> list just once instead of once per column.

Ah, got it.  Makes sense as long as you actually avoid the work ;-)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: not null constraints, again
Next
From: Daniel Gustafsson
Date:
Subject: Re: Align memory context level numbering in pg_log_backend_memory_contexts()