Re: attndims, typndims still not enforced, but make the value within a sane threshold

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: attndims, typndims still not enforced, but make the value within a sane threshold
Date: 2024-12-23 04:56:24
Message-ID: Z2jteIrcPhb0l_5V@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 12, 2024 at 03:40:32PM +0800, jian he wrote:
> remove pg_type typndims column patch attached.

FWIW, I have been paying more attention to applications that may use
this attribute and bumped into quite a few cases that use quals based
on (t.typndims > 0 AND t.typbasetype > 0) to check that they're
dealing with domains over array types. So even removing this switch
would be unwise, I am afraid..
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-12-23 05:16:01 Re: Last removed wal segment file
Previous Message 2024-12-23 04:16:37 transaction lost when delete clog file after normal shutdown