From: Tom Lane <tgl@sss.pgh.pa.us>
To: bryn@yugabyte.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Proposal to improve the content in subsection 8.16.6. "Composite Type Input and Output Syntax"
Date: Fri, 03 Apr 2020 18:16:36 -0400
Message-ID: <23093.1585952196@sss.pgh.pa.us> (raw)
In-Reply-To: <158593753274.7901.11178770123847486396@wrigleys.postgresql.org>
References: <158593753274.7901.11178770123847486396@wrigleys.postgresql.org>
PG Doc comments form <noreply@postgresql.org> writes:
> 1. Replace this:
> "...the whitespace will be ignored if the field type is integer, but not if
> it is text."
> with this:
> "...the whitespace will be ignored if the field type is integer, but not if
> it is a character data type like text."
It's already an example, so I don't see this as an improvement.
> Insert this between the two sentences, i.e. after "...any individual field
> value." and before "You must do so if...":
The proposed additional text is flat-out wrong.
What actually happens here is that text between quotes is considered
quoted (so that, for example, commas within it are not field separators),
but that does not exclude there being other unquoted text within the
same field value.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, bryn@yugabyte.com, pgsql-docs@lists.postgresql.org
Subject: Re: Proposal to improve the content in subsection 8.16.6. "Composite Type Input and Output Syntax"
In-Reply-To: <23093.1585952196@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox