Re: Strange behavior of "=" as assignment operator

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: David Johnston <polobo(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange behavior of "=" as assignment operator
Date: 2013-06-01 12:25:41
Message-ID: CAFj8pRDuYnEf+ZMJH7mmnoRkpiw=wgZcp+7WV570YcGMe-m36g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> A comment was made that "GET DIAGNOSTICS var = item;" is standard defined.
> Is the use of ":=" for assignment also standard defined? If so its not that
> inconsistent standards surprise me but...anyway.

":=" coming from different world (ALGOL like languages) and is never
used in SQL. Oracle did merge these two worlds together, but we don't
need bigger chaos than is now.

>
> David J.
>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Strange-behavior-of-as-assignment-operator-tp5757205p5757645.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shenli Zhu 2013-06-01 12:43:44 Sum raw with the same continuous flags
Previous Message Chris Travers 2013-06-01 10:01:54 Re: Strange behavior of "=" as assignment operator