Re: Auto commit Off how will it effect us ?

From: CoL <col(at)mportal(dot)hu>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Auto commit Off how will it effect us ?
Date: 2003-12-06 01:07:46
Message-ID: bqr9uc$2igu$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-php

hi,

SaiHertz And Control Systems wrote, On 12/3/2003 5:33 PM:
> Dear all ,
>
> Permit me to gain some of your most valuable knowledge ...........
>
> Our intrAnet server has the following spec
> 1. RH 9.0
> 2. Postgresql 7.3.4
> 3. PHP 4.3.3
> 4. GCC 3.2.2
>
> Till date my front end language (PHP) use to simply pass the data to
> postgresql in case of insert and
> update we were not using
> 1 BEGIN COMMIT block in PHP till date thanks to auto-commit-ON in postgreql
> 2. ROLLBACK script in PHP script
>
>
> And now when our company has decided to switch over to postgresql 7.4
> we have some doubt
> 1. Do we have to include BEGIN and COMMIT block around the insert
> process . (Because Postgresql 7.4 has auto-commit-OFF) in our PHP scripts

in pg7.4
AUTOCOMMIT = 'on'

try: SET AUTOCOMMIT = off; you will get:
ERROR: SET AUTOCOMMIT TO OFF is no longer supported

C.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message CoL 2003-12-06 01:15:20 Re: sql command to drop everything
Previous Message Bryan Irvine 2003-12-06 01:04:25 sql command to drop everything

Browse pgsql-php by date

  From Date Subject
Next Message Martin Marques 2003-12-06 20:23:46 CMS with PostgreSQL
Previous Message SaiHertz And Control Systems 2003-12-03 16:33:09 Auto commit Off how will it effect us ?