Re: pg_dump and ON DELETE CASCADE problem

From: CG <cgg007(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org, John R Pierce <pierce(at)hogranch(dot)com>
Subject: Re: pg_dump and ON DELETE CASCADE problem
Date: 2009-12-11 13:59:31
Message-ID: 54376.79956.qm@web37902.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That's really nifty! I didn't know you could do that!

So I expanded it, and I grepped for that UUID through the 46 gig file, and I found the row in the dump that shouldn't be there... It defies explanation.

--- On Thu, 12/10/09, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> From: John R Pierce <pierce(at)hogranch(dot)com>
> Subject: Re: [GENERAL] pg_dump and ON DELETE CASCADE problem
> To: cgg007(at)yahoo(dot)com, pgsql-general(at)postgresql(dot)org
> Date: Thursday, December 10, 2009, 3:29 PM
> CG wrote:
> > Thanks for the suggestion. I'm not sure what you mean
> when you say I should restore to a file. Do you mean I
> should dump the database to an SQL file instead of the
> "compressed" format?
> >   
>
> he meant...
>
>    pg_restore -f outputfile.sql
> yourdumpfile
>
> this will convert the dumpfile to SQL...
>
>
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2009-12-11 14:12:13 Re: PIVOT tables and crosstab
Previous Message Mihamina Rakotomandimby 2009-12-11 13:50:15 Re: [General] beginner!!!