pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boboc Cristi <bobocc@yahoo.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Kirk Parker <khp@equatoria.us>
Subject: Re: Merge statement
Date: Thu, 17 Nov 2022 19:05:22 +0000 (UTC)
Message-ID: <375196813.1374739.1668711922900@mail.yahoo.com> (raw)
In-Reply-To: <CAKFQuwZcYAsccacKv=mG1F_rBzquKE2s9K4Djd0_zp8F6+NRwg@mail.gmail.com>
References: <166870559096.639.9180457099983661630@wrigleys.postgresql.org>
	<20221117174737.w7jhwzarwmudolue@alvherre.pgsql>
	<1970449059.1357827.1668709232468@mail.yahoo.com>
	<CAKFQuwZcYAsccacKv=mG1F_rBzquKE2s9K4Djd0_zp8F6+NRwg@mail.gmail.com>

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@equatoria.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.g.johnston@gmail.com> wrote:  
 
 On Thu, Nov 17, 2022 at 11:20 AM Boboc Cristi <bobocc@yahoo.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.  

view thread (11+ messages)  latest in thread

Message-ID: <375196813.1374739.1668711922900@mail.yahoo.com>
Permalink:  ../375196813.1374739.1668711922900@mail.yahoo.com/
Also on:    postgresql.org/message-id/375196813.1374739.1668711922900@mail.yahoo.com

 · 

reply

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: bobocc@yahoo.com, david.g.johnston@gmail.com, pgsql-docs@lists.postgresql.org, alvherre@alvh.no-ip.org, khp@equatoria.us
  Subject: Re: Merge statement
  In-Reply-To: <375196813.1374739.1668711922900@mail.yahoo.com>

* 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