0/1 vs true/false

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема 0/1 vs true/false
Дата
Msg-id 3F1E2F3E.5030402@mega-bucks.co.jp
обсуждение исходный текст
Ответы Re: 0/1 vs true/false  (Chris Travers <chris@travelamericas.com>)
Re: 0/1 vs true/false  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Just having a small argument with an application developer ...

is using 0/1 for boolean types SQL compliant? I am trying to convince
him that the proper SQL compliant (and postgresql compliant) syntax is
true/false but he won't budge ...

The app as currently written no longer works with postgres because they
code uses 0/1 instead of the now enforced true/false for boolean types.

Can someone point me to an SQL spec and section where this is clearly
stated out?

Thanks,

Jean-Christian Imbeault


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: String Comparison / Embedded Spaces
Следующее
От: Ben
Дата:
Сообщение: birthday calculation