pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SaiHertz And Control Systems <sank89@sancharnet.in>
To: pgsql-novice@postgresql.org
To: pgsql-php@postgresql.org
Subject: Auto commit Off how will it effect us ?
Date: Wed, 03 Dec 2003 22:03:09 +0530
Message-ID: <3FCE1045.6010604@sancharnet.in> (raw)

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
2. Not only this do we also have to port the pgSQL functions which use 
to do inserts into a third table such that
    data gets committed on function execution


Please provide us any kinda information so that we can happily switch to 
postgressql 7.4



Regards,
V Kashyap








view thread (6+ messages)  latest in thread

Message-ID: <3FCE1045.6010604@sancharnet.in>
Permalink:  ../3FCE1045.6010604@sancharnet.in/
Also on:    postgresql.org/message-id/3FCE1045.6010604@sancharnet.in

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: sank89@sancharnet.in, pgsql-novice@postgresql.org
  Subject: Re: Auto commit Off how will it effect us ?
  In-Reply-To: <3FCE1045.6010604@sancharnet.in>
  References: <3FCE1045.6010604@sancharnet.in>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox