Tagged Questions
2
votes
1answer
215 views
In Postgres, how do I cast character varying to an enum type?
I have a Postgres 8.4 table with columns that are of type "character varying", but I want to convert them to an enum type.
When trying to alter the table
ALTER TABLE logs ALTER COLUMN interface_type ...
3
votes
2answers
1k views
changing float->numeric casts from assignment to implicit, dangerous?
In porting an application to PostgreSQL (9.1), one odd SQL incompatibility I've discovered concerns the round() function, specifically the version that takes a second argument indicating the rounding ...