Re: Problems with pg_dump - Mailing list pgsql-general

From Tom Lane
Subject Re: Problems with pg_dump
Date
Msg-id 27595.1047488125@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with pg_dump  ("Ben Ramsey" <ben@eureka-interactive.com>)
List pgsql-general
"Ben Ramsey" <ben@eureka-interactive.com> writes:
> So, I ask: How does one drop a column from a table so that I can drop the
> affected column and then use pg_dump as normal?

If you're on 7.3 you can just drop the column.  On earlier releases, I
suspect the best recourse is to select the undamaged columns into a new
table and then dump that.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: vacuum error
Next
From: "Cristian Custodio"
Date:
Subject: updated at a single element in a array using pl/pgsql