> I'm still quite new at this but it should be a simple operation: How do I
> drop a column form a Postgres table. The next best thing would be knowing
> how to change a column so that it can accept null values.
Adding columns is directly supported. Removing columns, or redefining
them, is done with a CREATE TABLE AS/DROP TABLE/CREATE TABLE AS/DROP
TABLE sequence, where you write the columns you want to retain into a
temporary table, delete the original table, and then do the same back
into a new table with the same name as the original.
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
In response to
pgsql-interfaces by date
|Next:||From: José Carlos Faial||Date: 1999-08-31 13:21:24|
|Subject: ODBC Questions|
|Previous:||From: Hub.Org News Admin||Date: 1999-08-30 22:04:58|