Re: Inconsistent error message for varchar(n) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Inconsistent error message for varchar(n)
Date
Msg-id Yw/ynsGKuCAi9+mW@momjian.us
Whole thread Raw
In response to Re: Inconsistent error message for varchar(n)  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
8On Tue, Aug 16, 2022 at 09:56:17PM -0400, Bruce Momjian wrote:
> On Sun, Nov 14, 2021 at 10:33:19AM +0800, Japin Li wrote:
> > Oh! I didn't consider this situation.  Since the max size of varchar cannot
> > exceed 10485760, however, I cannot find this in documentation [1]. Is there
> > something I missed? Should we mention this in the documentation?
> > 
> > [1] https://www.postgresql.org/docs/devel/datatype-character.html
> 
> Sorry for my long delay in reviewing this issue.  You are correct this
> should be documented --- patch attached.

Patch applied back to PG 10.  Thanks for the report.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Doc patch
Next
From: Thomas Munro
Date:
Subject: Re: pg15b3: recovery fails with wal prefetch enabled