Re: Concurrent testing PostgreSQL Vs MySQL

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
Cc: Durai <visolve_postgres(at)lycos(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Concurrent testing PostgreSQL Vs MySQL
Date: 2003-11-21 11:58:03
Message-ID: 3FBDFDCB.1080708@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2003-11-21 12:05:47 Re: tsearch2 column update produces "word too long" error
Previous Message Durai 2003-11-21 11:53:42 Re: Concurrent testing PostgreSQL Vs MySQL