I have a problem and search for a solution on Google but can't find any. I have a posgre Tabel with name products_199 and in that table there's a column with name parameter2 type varchar (255). I want to change the datatype to text but somehow I get the following error
ERROR: parser: parse error at or near "TYPE" at character 50
My command looks like follows that I want to execute
ALTER TABLE products_199 ALTER COLUMN parameter2 TYPE text;
I'm using PostgreSQL 7.3.4