Re: Help! Database restored with disabled triggers - Mailing list pgsql-general

From Tom Lane
Subject Re: Help! Database restored with disabled triggers
Date
Msg-id 22566.1253717617@sss.pgh.pa.us
Whole thread Raw
In response to Help! Database restored with disabled triggers  (Joe Kramer <cckramer@gmail.com>)
Responses Re: Help! Database restored with disabled triggers
List pgsql-general
Joe Kramer <cckramer@gmail.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

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Help! Database restored with disabled triggers
Next
From: Joe Kramer
Date:
Subject: Re: Help! Database restored with disabled triggers