Re: pgsql: Don't trust NOT NULL on virtual generated columns of partitioned

From: Manu <manuelreyesbravo(at)gmail(dot)com>
To: shihao zhong <zhong950419(at)gmail(dot)com>
Cc: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Richard Guo <guofenglinux(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Don't trust NOT NULL on virtual generated columns of partitioned
Date: 2026-11-25 01:42:32
Message-ID: 179557095216.3495724.3966035741246144280@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Hi Shihao,

On Mon, Nov 23, 2026 at 10:31 PM shihao zhong <zhong950419(at)gmail(dot)com>
wrote:
> ADD COLUMN now checks only the new column, and the pg_upgrade message
> uses your text.

Thanks. v7 fixes both cases on master (b4cc5e924b7), REL_19_STABLE
(698c390bbd6) and REL_18_STABLE (95d051fee16): ADD COLUMN works on the
divergent trees, and following the new pg_upgrade text repairs the
two-parent ones. Everything else we had still passes.

Regards,
Manu

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-11-25 02:20:14 pgsql: Avoid null pointer crash after pg_localtime()/pg_gmtime() failur
Previous Message Tomas Vondra 2026-11-24 23:27:52 pgsql: Clarify the parallel BRIN merge comment

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-11-25 01:59:46 Re: pg_dump --exclude-table loses FOR ALL TABLES EXCEPT publications
Previous Message Neil Chen 2026-11-25 01:34:06 Re: [PATCH] psql: Complete GRANTED BY in GRANT and REVOKE