code review

HoneyMonster nobody at someplace.invalid
Sun Jul 1 16:53:48 EDT 2012


On Sun, 01 Jul 2012 09:46:56 +0200, Thomas Jollans wrote:

> I don't have PostgeSQL handy just now - what is the result of (1 < 2 <
> 3) ? I bet it's the same error, which means the two are still
> equivalent.

$ psql misc

psql (9.1.4)

Type "help" for help.

misc=# select (1 < 2);

 ?column? 

----------

 t

(1 row)

misc=# select (1 < 2 < 3);

ERROR:  syntax error at or near "<"

LINE 1: select (1 < 2 < 3);
                      ^
misc=#




More information about the Python-list mailing list