From: | Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> |
---|---|
To: | John DeSoi <desoi(at)pgedit(dot)com> |
Cc: | mikie <mikie(dot)pl(at)gmail(dot)com>, pgsql-php(at)postgresql(dot)org |
Subject: | Re: transactions from PHP - double COMMIT required? |
Date: | 2007-03-01 14:48:43 |
Message-ID: | 45E6E7CB.3060800@bugs.unl.edu.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
John DeSoi wrote:
> The client must issue a command to commit or rollback the transaction.
>
> In your example, are you sending all of the SQL lines (including the
> COMMIT) as a single execution? It sounds like the interface stops
> executing as soon as an error is reached. So perhaps change your code to
> execute the COMMIT separately after all the other commands have executed.
Logs would also help.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | mikie | 2007-03-01 16:42:54 | Re: transactions from PHP - double COMMIT required? |
Previous Message | Martin Marques | 2007-03-01 14:46:55 | Re: transactions from PHP - double COMMIT required? |