Re: Question about a query with two count fields

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question about a query with two count fields
Дата
Msg-id 15682.1189535304@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Question about a query with two count fields  ("George Pavlov" <gpavlov@mynewplace.com>)
Ответы Re: Question about a query with two count fields  (David Fetter <david@fetter.org>)
Список pgsql-general
"George Pavlov" <gpavlov@mynewplace.com> writes:
>> From: David Fetter [mailto:david@fetter.org]
>> This case statement returns true when z factorial is zero, so I'd
>> recommend the SQL standard <> or IS NOT DISTINCT FROM instead.

> i do hate potential ambiguity... the != was something stuck in my brain
> from old sybase, i think. i always liked != ("not equals") as more
> intuitive than <> ("less than, greater than"???), but i will have to
> change my ways, especially if "the standard" says so.

The notion that != might be scanned as two operators whereas <> would
not be is nonsense.  I assume David was just joking.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Sthange things happen: SkyTools pgbouncer is NOT a balancer
Следующее
От: David Fetter
Дата:
Сообщение: Re: Question about a query with two count fields