Re: Concurrent testing PostgreSQL Vs MySQL

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Concurrent testing PostgreSQL Vs MySQL
Дата
Msg-id 3FBDEB4C.9010705@myrealbox.com
обсуждение исходный текст
Ответ на Re: Concurrent testing PostgreSQL Vs MySQL  ("Durai" <visolve_postgres@lycos.co.uk>)
Ответы Re: Concurrent testing PostgreSQL Vs MySQL  (Shridhar Daithankar <shridhar_daithankar@myrealbox.com>)
Список 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 по дате отправления:

Предыдущее
От: Marek Lewczuk
Дата:
Сообщение: Re: Concurrent testing PostgreSQL Vs MySQL
Следующее
От: Holger Klawitter
Дата:
Сообщение: Re: PGSQL on shared hosting