You are here: Postgres auto-commit « PHP « IT news, forums, messages
Postgres auto-commit

Posted by Skippy on 09/27/36 11:28

How can I disable auto-commit for a Postgres connection? Apparently
server-side autocommit was thrown out in Postgres 8.0, and clients have to
issue their own setting (which is sensible).

The default is on (which I don't want). psql is apparently able to set or
unset the AUTOCOMMIT option, but I found nothing similar for PHP.

There is no ini setting for it. There is no function for it. Perhaps the
"options" part of the connection string passed to pg_connect() might work, if
I only knew what it's supposed to contain... Can anybody shed some light on
this?

--
Romanian Web Developers - http://ROWD.ORG

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация