| SELECT Name FROM Test WHERE Name::INT = 1;But note that this is going to throw an error if there are any table rows where the name field *doesn't* contain a valid integer.
and it recalls the problem of error suppressing once again -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql