Re: Help! Database restored with disabled triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Kramer <cckramer(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help! Database restored with disabled triggers
Date: 2009-09-23 14:53:37
Message-ID: 22566.1253717617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joe Kramer <cckramer(at)gmail(dot)com> writes:
> I have database backup schema+data in text (non-compressed) format.
> Backup is created using "pg_dump -i -h ... -U ... -f dump.sql".
> I run it with "psql <dump.sql" but after restore all triggers are disabled!

You sure they weren't disabled in the source database? AFAICS pg_dump
just duplicates the trigger state it sees in the source.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Kramer 2009-09-23 15:12:00 Re: Help! Database restored with disabled triggers
Previous Message Adrian Klaver 2009-09-23 14:02:59 Re: Help! Database restored with disabled triggers