Re: Proposal to improve the content in subsection 8.16.6. "Composite Type Input and Output Syntax"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bryn(at)yugabyte(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal to improve the content in subsection 8.16.6. "Composite Type Input and Output Syntax"
Date: 2020-04-03 22:16:36
Message-ID: 23093.1585952196@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2020-04-04 04:04:19 Re: Add A Glossary
Previous Message Erik Rijkers 2020-04-03 21:05:06 Re: Add A Glossary