Re: Document NULL - Mailing list pgsql-hackers

From Marcos Pegoraro
Subject Re: Document NULL
Date
Msg-id CAB-JLwbrGFFo9J+1cDibayX8NuVe-5u0nwL1gnRy7Oz2J0EzWw@mail.gmail.com
Whole thread Raw
In response to Re: Document NULL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Document NULL
List pgsql-hackers
Em ter., 11 de mar. de 2025 às 12:52, David G. Johnston <david.g.johnston@gmail.com> escreveu:
I'm mostly indifferent and it is very simple to change.  It seemed desirable to have the main topic of this page display as something that isn't invisible though.  And NULL was unappealing since it naturally appears in data.  Since COPY uses \N I figured it was a decent choice. <null> or <NULL> came to mind too, but there were long compared to 1, 2, and 4 that appear along side it.

You decided to show \N for Nulls. I think that the user who has questions about nulls is usually a newbie, so he also doesn't know the COPY format for nulls. And even GUIs, which are often used for learning, display a word for nulls, be it NULL, <null>, [null] or something similar.

regards
Marcos

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: minimum Meson version
Next
From: "David G. Johnston"
Date:
Subject: Re: Document NULL