Re: identity columns ? - Mailing list pgsql-novice

From PGMailList
Subject Re: identity columns ?
Date
Msg-id 001501c1dc89$29a36950$05faa8c0@edios
Whole thread Raw
In response to identity columns ?  ("Chris" <chris@netlabz.com>)
List pgsql-novice
> 2. We're using pg-admin to work with postgres. It doesn't seem possible to
> modify tables in pg-admin once you've created them, you have to delete and
> add. Is there another pg client that supports modifying tables ?

Depends on what you want to change:
Drop a column -
        Sorry - Drop table and recreate.
Add Column -
    ALTER TABLE mytable ADD  COLUMN  mycolumn int4;
Change Column Name -
    ALTER TABLE mytable RENAME COLUMN mycolumn TO newcolumn;

http://www.pgexplorer.com
GUI Postgres TOOL






pgsql-novice by date:

Previous
From: Ugly Hippo
Date:
Subject: Re: Export query result to text file?
Next
From: "Josh Berkus"
Date:
Subject: Re: identity columns ?