Re: [GENERAL] JSON objects merge using || operator - Mailing list pgsql-general

From Mickaël Le Baillif
Subject Re: [GENERAL] JSON objects merge using || operator
Date
Msg-id CALtLrz+5jkDtZ_DDPBYfoyUW=HN3qk-i=2qTxChWtci3G1HugA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] JSON objects merge using || operator  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] JSON objects merge using || operator
List pgsql-general
Le lun. 19 déc. 2016 à 18:52, Tom Lane <tgl@sss.pgh.pa.us> a écrit :
Since the Postgres parser doesn't have any special knowledge about
the meaning of the -> and || operators, it gives them the same precedence

Thanks for clarifying the situation here.

Do you have any reason for giving the same precedence on those operators ? A small survey among my colleagues and friends tends to believe that our human brain implicitly gives a greater priority to the '->' operator.  

pgsql-general by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: [GENERAL] Replacing an existing unique constraint (not UNIQUE INDEX) with primary key
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: [GENERAL] Replacing an existing unique constraint (not UNIQUE INDEX) with primary key