PG 8.3 would even throw it out, unless dokumnr was explicitly cast to a float8 as well.
I tried in 8.3 create temp table dok ( dokumnr serial primary key ); select * from dok where dokumnr='1'::float8 and this run without error. So i do'nt understand how 8.3 throws out. Andrus. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general