Re: JSON objects merge using || operator

From: Mickaël Le Baillif <mickael(dot)le(dot)baillif(at)gmail(dot)com>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: JSON objects merge using || operator
Date: 2016-12-20 10:59:29
Message-ID: CALtLrz+5jkDtZ_DDPBYfoyUW=HN3qk-i=2qTxChWtci3G1HugA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le lun. 19 déc. 2016 à 18:52, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2016-12-20 11:03:14 Re: Replacing an existing unique constraint (not UNIQUE INDEX) with primary key
Previous Message Achilleas Mantzios 2016-12-20 10:42:56 Re: Replacing an existing unique constraint (not UNIQUE INDEX) with primary key