[Devel] CVS commitlog: sip-server/modules/postgres dbase.c

Michael Ulitskiy mdu113 at acedsl.com
Tue Sep 13 20:54:55 CEST 2005


On Tuesday 13 September 2005 02:05 pm, Klaus Darilion wrote:
> User: klaus_darilion
> Date: 2005/09/13 11:05:03 PDT
> 
>   OpenSER CVS - Commit Details
> 
>   Modified files:
>     modules/postgres     dbase.c 
>   Commit Log:
>   - adding transaction rollback for failed queries (postgres module encapsulates every query into transaction. If the query failed, the transcation was not finished, thus a new database connection was created on the next query)

Hm... do you really reconnect to db in this case? why not just issue rollback?
   
>   Revision  Changes    Path
>   1.4       +45 -15    sip-server/modules/postgres/dbase.c
>    [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/postgres/dbase.c?r1=1.3&r2=1.4 ]
> 
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
> 



More information about the Devel mailing list