From: | Ruben Fitó <r(dot)fito(at)ubiquat(dot)com> |
---|---|
To: | Horacio Miranda <hmiranda(at)gmail(dot)com> |
Cc: | "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: [pgsql-es-ayuda] Re: Fila no encontrada después de un INSERT |
Date: | 2016-05-19 08:58:51 |
Message-ID: | CANiYpQwUirZqWjM8pLSGBc3n5=8Q-FHx-MLcd_iMyJioBvzW5Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
No entiendo bien tu pregunta,
1. Backend (JAVA) hace BEGIN. Después hace una llamada SOAP al aplicativo
en C.
2. El aplicativo (C+libpq), crea nueva conexion con BBDD, hace el Insert
con *Autocommi*t y devuelve el id al backend. (NO se inicia ninguna
transacción con BEGIN-COMMIT)
3. El backend hace la consulta dentro de su propio bloque transaccional.
Es posible que el autocommit tenga algun delay/lag?
Saludos
2016-05-19 10:44 GMT+02:00 Horacio Miranda <hmiranda(at)gmail(dot)com>:
> Estan en una transaccion ?
>
> Si no hacen commit es normal que la fila no sea leida.
>
--
*Ruben Fitó *
Software Engineer
[image: Ubiquat Technologies, SL]
r(dot)fito(at)ubiquat(dot)com <j(dot)catarineu(at)ubiquat(dot)com>
www.ubiquat.com
Tota la informació continguda en aquest document i arxius adjunts és
CONFIDENCIAL protegida per llei de secret comercial. Si l'ha rebut per
error, si us plau elimini'l i posi's en contacte amb l'emissor.
All information contained in this document and any attachments are
CONFIDENTIAL and protected under trade secret laws. If you receive this
message by mistake, please delete it and notify it immediately to the
sender.
From | Date | Subject | |
---|---|---|---|
Next Message | Ruben Fitó | 2016-05-19 09:03:14 | Re: [pgsql-es-ayuda] Re: Fila no encontrada después de un INSERT |
Previous Message | Horacio Miranda | 2016-05-19 08:44:01 | Re: Re: Fila no encontrada después de un INSERT |