From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>, jian he <jian(dot)universality(at)gmail(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>, Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>, Peter Eisentraut <peter(at)eisentraut(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Document NULL |
Date: | 2025-03-11 20:43:49 |
Message-ID: | 1649111.1741725829@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Tue, Mar 11, 2025 at 1:19 PM Marcos Pegoraro <marcos(at)f10(dot)com(dot)br> wrote:
>> I understand that this page we have more NULL values than everywhere else
>> combined, but it's a good opportunity to set a standard for all
>> documentation
> If someone writes a patch to make everywhere <null> and changes this page
> in the process I wouldn't complain. For now there is no such standard, we
> use empty string everywhere else, and that isn't a good choice here IMO.
> It is probably a good choice for elsewhere since the empty string is our
> default. While specific to this page \N reads the best for these examples
> IMO. But I'll concede to whatever if others think this choice is a
> review/commit blocker.
I think that idea (changing all the docs) is a complete nonstarter
because people would not understand why the results they get don't
look like what it says in the docs. Of course, we could fix that
by changing the factory default for \pset null, but that seems like
even more of a nonstarter.
We can probably get away with having one page that assumes a
different \pset null setting, as long as there's a clear <note>
about it at the top of the page.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Devulapalli, Raghuveer | 2025-03-11 20:57:17 | RE: Improve CRC32C performance on SSE4.2 |
Previous Message | David G. Johnston | 2025-03-11 20:32:00 | Re: Document NULL |