Daniel Schuchardt wrote: > Is that is the wished behavoir? > > template1=# SELECT 1='1'; > ?column? > ---------- > t > (1 row)
Yes. See also this: alvherre=# select 1 = '1'::text; ERROR: operator does not exist: integer = text LÍNEA 1: select 1 = '1'::text; ^ SUGERENCIA: No operator matches the given name and argument type(s). You might need to add explicit type casts. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers