Re: Wish: remove ancient constructs from Postgres - Mailing list pgsql-general

From Tom Lane
Subject Re: Wish: remove ancient constructs from Postgres
Date
Msg-id 19574.1140973711@sss.pgh.pa.us
Whole thread Raw
In response to Wish: remove ancient constructs from Postgres  ("Andrus Moor" <eetasoft@online.ee>)
Responses Re: Wish: remove ancient constructs from Postgres
List pgsql-general
"Andrus Moor" <eetasoft@online.ee> writes:
> For example, there are suggestions using

> now()::CHAR!=foo

> while the correct way is

> CAST(CURRENT_DATE AS CHAR)<>foo

> now() function, :: and != operators should be removed from language.

Your second example requires twice as much typing as your first;
is it so surprising that some people prefer the shorter way?

We'd consider removing these features if they were actually blocking
support of some spec-required behavior ... but since they don't, it's
quite unlikely they'll ever be removed.  Feel free not to use them
if you don't like them, but don't try to impose your viewpoint on
everyone else.

            regards, tom lane

pgsql-general by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Postgre capability
Next
From: Karsten Hilbert
Date:
Subject: Re: Wish: remove ancient constructs from Postgres