Re: psql + autocommit

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: psql + autocommit
Дата
Msg-id 355fa78a33f16682e8805235eea600e5@biglumber.com
обсуждение исходный текст
Ответ на Re: psql + autocommit  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Here is another way to do it:

1. Rename your system psql to something else:

mv psql real_psql

2. Make a new "psql" that is really an excutable script:

real_psql --set AUTOCOMMIT=OFF $@

Now anyone calling "psql" gets autocommit off, no matter who
they are.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200409202307

-----BEGIN PGP SIGNATURE-----

iD8DBQFBT5sevJuQZxSWSsgRAkZvAKCU16jcZfy0TLPHiKUpUYehPTBfLgCdH44t
McArsrxV+NaP8h8Q1vMLpng=
=ZO2G
-----END PGP SIGNATURE-----



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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: using database for queuing operations?
Следующее
От: David Garamond
Дата:
Сообщение: Re: Any reason not to use inheritance?