Re: [PATCH] docs: document N'...' national character string literal syntax

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: Erik Wienhold <ewie(at)ewie(dot)name>, Hoda Salim <hoda(dot)s(dot)salim(at)gmail(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] docs: document N'...' national character string literal syntax
Date: 2026-02-04 05:22:43
Message-ID: 1389031.1770182563@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> Also, any reason not to just say:
> "This syntax is accepted for compatibility with the SQL standard." and
> move on?

+1. The syntax does not in fact do anything that anyone would call
useful. And I'm also unsure that it really satisfies what the
standard suggests it should do.

On the whole, leaving it in undocumented obscurity seems fine to
me. But if we must mention it, the less said the better. Nobody
will read a paragraph about this and think their time was well
spent.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Shinya Kato 2026-02-05 06:47:04 Re: Placement of synchronized_standby_slots description in config.sgml
Previous Message David G. Johnston 2026-02-04 01:31:36 Re: [PATCH] docs: document N'...' national character string literal syntax