Re: disable triggers using psql

From: Geoffrey Myers <geof(at)serioustechnology(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: lists(at)serioustechnology(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: disable triggers using psql
Date: 2011-02-18 17:53:03
Message-ID: 4D5EB1FF.6040804@serioustechnology.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Sabino Mullane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
>
>> cut and paste:
>>
>> set ON_ERROR_ROLLBACK;
>
> Should be
>
> \set ON_ERROR_ROLLBACK on
>
> You can also set this when calling psql like so:
>
> psql --set ON_ERROR_ROLLBACK=on
>
> But that's getting off-topic now, as we've got the problem narrowed:
>
>> INSERT 0 1
>
> This shows the session_replication_role is working as it should. Double
> check where and how you are setting it; your foreign key problems
> will go away once it is set correctly.

Okay, thanks.

>
> - --
> Greg Sabino Mullane greg(at)turnstep(dot)com
> End Point Corporation http://www.endpoint.com/
> PGP Key: 0x14964AC8 201102181243
> http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
> -----BEGIN PGP SIGNATURE-----
>
> iEYEAREDAAYFAk1esCsACgkQvJuQZxSWSsh5JgCeK/Mk+e598LAhDsYvNmTCWM8E
> F+sAoN9YX32TFKF/5YDp3CoNBwfnbnqb
> =u8rB
> -----END PGP SIGNATURE-----
>
>

--
Geoffrey Myers
Myers Consulting Inc.
770.592.1651

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2011-02-18 17:58:00 Re: Any feedback on this query?
Previous Message Noceda, Noel 2011-02-18 17:49:48 Service missing after windows 2008 upgrade