[Devel] CVS commitlog: sip-server/scripts postgresqldb.sh

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Oct 11 17:06:28 CEST 2005


I am thinking to use REPLACE instead of INSERT when populating the 
'version' table. That should avoid some troubles related to duplicates.

Is REPLACE supported by postgress?

Cheers,
Daniel


On 10/11/05 17:50, Klaus Darilion wrote:
> User: klaus_darilion
> Date: 2005/10/11 07:50:36 PDT
>
>   OpenSER CVS - Commit Details
>
>   Modified files:
>     scripts              postgresqldb.sh 
>   Commit Log:
>   - 'table_name' is primary key in table 'version' to avoid duplicates (reported by jazzjack in openser web forum - http://www.voipuser.org/forum_view_24.html)
>   
>   Revision  Changes    Path
>   1.8       +2 -2      sip-server/scripts/postgresqldb.sh
>    [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/scripts/postgresqldb.sh?r1=1.7&r2=1.8 ]
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>   



More information about the Devel mailing list