Re: Incorrect mention of number of columns?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
Cc: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Incorrect mention of number of columns?
Date: 2023-11-03 16:42:47
Message-ID: 3311709.1699029767@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

"Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com> writes:
>> Yeah, but populating it would not (unless many of the columns were
>> NULL).

> Ok, but then should the documentation be more precise? It seems a bit odd to let users create such a table without at least a warning.

Given the impact of NULLs, and the fact that usually tables have some
variable-width columns, I doubt that a creation-time warning could be
accurate enough to be useful.

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2023-11-03 16:53:46 Re: Version 14/15 documentation Section "Alter Default Privileges"
Previous Message Daniel Westermann (DWE) 2023-11-03 16:18:45 Re: Incorrect mention of number of columns?