Search Postgresql Archives

Re: Strange behavior of "=" as assignment operator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

2013/5/28 Moshe Jacobson <moshe@xxxxxxxxxxxx>:
> On Tue, May 28, 2013 at 4:06 PM, Stephen Frost <sfrost@xxxxxxxxxxx> wrote:
>>
>> Both are supported.  It's not really documented as using '=' is
>> considered 'legacy' but it's also extensively used and removing it would
>> break quite a bit of code for people.
>
>
> This is crazy! By leaving it in, they are allowing my obsolescent code to
> compile and run without warning!
> This means that one day down the road, MY code is going to break because the
> developers assumed that this obsolescent behavior was OK to turn on by
> default.
> IMO they should have disabled the default acceptance of "=" and given us an
> option to enable it if our code broke.
> Not leaving it in by default.
>

There are lot of "undocumented features", that you can use in almost
all software (MS SQL, Oracle) on own risk.

> Any PG committers who can change this in 9.3?

I hope, so we will be able to identify and raise warning in 9.4.

Regards

Pavel

>
>
> --
> Moshe Jacobson
> Nead Werx, Inc. | Manager of Systems Engineering
> 2323 Cumberland Parkway, Suite 201 | Atlanta, GA 30339
> moshe@xxxxxxxxxxxx | www.neadwerx.com
>
> "Quality is not an act, it is a habit." -- Aristotle


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux