From: | Boboc Cristi <bobocc(at)yahoo(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Kirk Parker <khp(at)equatoria(dot)us> |
Subject: | Re: Merge statement |
Date: | 2022-11-17 19:05:22 |
Message-ID: | 375196813.1374739.1668711922900@mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
I agree that your statement is true, but it is still not quite self sufficient.
For the time being I have no idea how to make it easier to be understood. As I have said, for me it is a little confusing.
I would pay attention to Kirk Parker <khp(at)equatoria(dot)us> idea: when_clause [ when_clause [...]] to indicate repetitions without commas and xyz [, xyz[, ...]] to indicate repetitions that require commas.
I'll be back if some worthy idea will hit my mind.
Best regards, Cristi Boboc
On Thursday, November 17, 2022 at 08:48:19 PM GMT+2, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
On Thu, Nov 17, 2022 at 11:20 AM Boboc Cristi <bobocc(at)yahoo(dot)com> wrote:
Hello!Thank you. I was fooled by the fact that sometimes it is marked with [...] and other times with [,...]
I think that consistency might worth attention, since [...] may indicate "anything", while [,...] are more likely to indicate a specific thing that may be repeated.
That isn't how that works. The former means you don't have to add a comma between each of the multiples, the later means you do.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2022-11-17 19:21:03 | Re: Merge statement |
Previous Message | David G. Johnston | 2022-11-17 18:41:44 | Re: Merge statement |