Re: disable triggers using psql

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: disable triggers using psql
Дата
Msg-id d78a44427e91680d49d3e5050ed9fee0@biglumber.com
обсуждение исходный текст
Ответ на Re: disable triggers using psql  (Geoffrey Myers <lists@serioustechnology.com>)
Ответы Re: disable triggers using psql  (Geoffrey Myers <lists@serioustechnology.com>)
Re: disable triggers using psql  (Geoffrey Myers <geof@serioustechnology.com>)
Список pgsql-general
-----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.

- --
Greg Sabino Mullane greg@turnstep.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-----


В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: database instance creation
Следующее
От: Mike Christensen
Дата:
Сообщение: Re: Any feedback on this query?