Re: Concurrent testing PostgreSQL Vs MySQL - Mailing list pgsql-general

From Marek Lewczuk
Subject Re: Concurrent testing PostgreSQL Vs MySQL
Date
Msg-id 3FBDE691.5070204@lewczuk.com
Whole thread Raw
In response to Re: Concurrent testing PostgreSQL Vs MySQL  ("Durai" <visolve_postgres@lycos.co.uk>)
List pgsql-general
Użytkownik Durai napisał:

 > Hello Shridhar,
 >
 >                     The script content is:
 > ** *# cat te**stpgsql.php*
 > *
 > *<?php
 > $dbconn = pg_connect("host=172.16.1.158 port=5432 dbname=test
user=postgres");
 > $result = pg_exec ($dbconn, "update table2 set C2=C2+1;");
 > $result = pg_exec ($dbconn, "update table2 set C2=C2-1;");
 > pg_close($dbconn);


You have to read about transactions in PostgreSQL or you should turn on
autocommit in conf file...





pgsql-general by date:

Previous
From: "Durai"
Date:
Subject: Re: Concurrent testing PostgreSQL Vs MySQL
Next
From: Shridhar Daithankar
Date:
Subject: Re: Concurrent testing PostgreSQL Vs MySQL