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

From Shridhar Daithankar
Subject Re: Concurrent testing PostgreSQL Vs MySQL
Date
Msg-id 3FBDFDCB.1080708@myrealbox.com
Whole thread Raw
In response to Re: Concurrent testing PostgreSQL Vs MySQL  (Shridhar Daithankar <shridhar_daithankar@myrealbox.com>)
List pgsql-general
Damn.. I forgot to begin the transaction..

Shridhar Daithankar wrote:
> Durai wrote:
>> 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, "begin;");

>> $result = pg_exec ($dbconn, "update table2 set C2=C2+1;");
>> $result = pg_exec ($dbconn, "update table2 set C2=C2-1;");
> $result = pg_exec ($dbconn, "commit;");
>> pg_close($dbconn);
>> ?>
>> #

Check this..

  Shridhar


pgsql-general by date:

Previous
From: "Durai"
Date:
Subject: Re: Concurrent testing PostgreSQL Vs MySQL
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch2 column update produces "word too long" error