| От | Tom Lane |
|---|---|
| Тема | Re: Wish: remove ancient constructs from Postgres |
| Дата | |
| Msg-id | 19574.1140973711@sss.pgh.pa.us обсуждение |
| Ответ на | Wish: remove ancient constructs from Postgres ("Andrus Moor" <eetasoft@online.ee>) |
| Ответы |
Re: Wish: remove ancient constructs from Postgres
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера