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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, jian he <jian(dot)universality(at)gmail(dot)com>, 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: 2025-01-19 23:57:09
Message-ID: Z42RVQLTMRmIbSsb@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 19, 2025 at 06:47:14PM -0500, Tom Lane wrote:
> I looked at getting a better result here and decided that it didn't
> look very promising. pg_dump uses format_type() to build the type
> name to put in CREATE TABLE, and that doesn't have access to attndims.

Small question on this one: would it be worth adding a check in
sanity_check.sql for bumpy values?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hari Krishna Sunder 2025-01-19 23:57:18 Re: 回复:Re: 回复:Re: speed up pg_upgrade with large number of tables
Previous Message Tatsuo Ishii 2025-01-19 23:55:17 Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options