Re: Large object restore problem w/triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claire McLister <mclister(at)zeesource(dot)net>
Cc: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Large object restore problem w/triggers
Date: 2006-01-12 18:40:33
Message-ID: 7213.1137091233@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Claire McLister <mclister(at)zeesource(dot)net> writes:
> Thanks for your quick response. Sorry for the omission, the PG
> version is 7.4.8

> How do I temporarily disable the trigger while doing the restore?
> Should I remove the trigger, do the dump, and then work from there?

Yeah, it looks like that's the easiest answer in 7.4 :-(. I had thought
that pg_restore's --disable-triggers might help you, but it looks like
it won't fire unless you use a data-only restore, which is generally not
a preferable way to do things.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-01-12 18:51:38 Re: Plans for 8.2?
Previous Message Tino Wildenhain 2006-01-12 18:38:00 Re: Plans for 8.2?