Re: Declare variable-length catalog columns as [] rather than [1]

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Declare variable-length catalog columns as [] rather than [1]
Date: 2026-09-25 06:36:02
Message-ID: 08476942-9d4c-42b7-bde1-4b97cb129896@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22.09.26 11:09, Chao Li wrote:
> This way, the build fails immediately with a clearer error:
> ```
> catalog array column 'text attoptions[1]' must be declared with [] at /Users/chaol/Documents/code/postgresql/src/backend/catalog/Catalog.pm line 239, <$ifh> line 177.
> ```

Thanks, committed with those adjustments.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2026-09-25 06:49:52 Re: Direct TOAST v2, faster, smaller and no migration needed
Previous Message Antonin Houska 2026-09-25 06:24:15 Re: REPACK (CONCURRENTLY) can silently lose updates when the toast table is rewritten