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

From Shridhar Daithankar
Subject Re: Concurrent testing PostgreSQL Vs MySQL
Date
Msg-id 3FBDEB4C.9010705@myrealbox.com
Whole thread Raw
In response to Re: Concurrent testing PostgreSQL Vs MySQL  ("Durai" <visolve_postgres@lycos.co.uk>)
Responses Re: Concurrent testing PostgreSQL Vs MySQL  (Shridhar Daithankar <shridhar_daithankar@myrealbox.com>)
List pgsql-general
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, "update table2 set C2=C2+1;");
> $result = pg_exec ($dbconn, "update table2 set C2=C2-1;");

$result = pg_exec ($dbconn, "commit;");

> pg_close($dbconn);
> ?>
> #

Try it now. It should work without problem.

  shridhar


pgsql-general by date:

Previous
From: Marek Lewczuk
Date:
Subject: Re: Concurrent testing PostgreSQL Vs MySQL
Next
From: Holger Klawitter
Date:
Subject: Re: PGSQL on shared hosting