Re: How can I tell if pg_restore is running? - Mailing list pgsql-general

From Francisco Olarte
Subject Re: How can I tell if pg_restore is running?
Date
Msg-id CA+bJJbziSZ9sAx4-mK46XG05fWgWcqam+_Hq=4vy5upeQpvmKQ@mail.gmail.com
Whole thread Raw
In response to How can I tell if pg_restore is running?  (Moshe Jacobson <moshe@neadwerx.com>)
Responses Re: How can I tell if pg_restore is running?
List pgsql-general
Hi Moshe:

On Tue, Jun 10, 2014 at 4:02 PM, Moshe Jacobson <moshe@neadwerx.com> wrote:
> My extension has a config table that is dumped by pg_dump and populated by
> pg_restore.
....
> Is there a way for my extension's trigger functions to return immediately
> when triggered by pg_restore?

Is there any reason to avoid pg_restore --disable-triggers ?

Francisco Olarte.


pgsql-general by date:

Previous
From: Martin French
Date:
Subject: Re: How can I tell if pg_restore is running?
Next
From: Khangelani Gama
Date:
Subject: Re: pg_standby replication problem