Re: Concurrent testing PostgreSQL Vs MySQL

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Wollny 2003-11-21 10:53:34 tsearch2 column update produces "word too long" error
Previous Message Andrei Ivanov 2003-11-21 10:29:12 Re: ERROR: nodeRead: did not find '}' [x2]