Tom Lane wrote:
> 
> Enrique Rodriguez Lazaro <enrique(at)xpress(dot)es> writes:
> >>>> I can't do a simple 'insert' from libpq.
> 
> Come to think of it, the uncommitted-transaction problem could also
> exist on the query side (the apache client).  If that client is
> running in SERIALIZABLE transaction mode, it won't see the effect
> of an insert transaction started after its own current transaction.
> So you might need to do a commit/begin cycle on that side too.
> 
>                         regards, tom lane
> 
> ************
Thank you very much. COMMIT was the solution.