[OpenSER-Users] Direct (Postgres) SQL queries.
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Oct 9 09:48:35 CEST 2007
Hi Alex,
The only formatted why to do it is via avp_db_load/save(), but for
custom queries, there is no way than using either the raw query (avpops
module), either external scripts - perl (as Mik suggested) or whatever
(via exec module).
But, from performance considerations, avp_db_query() is much faster.
regards,
bogdan
Alex Balashov wrote:
>
> Is there a better way to talk to a database directly than to use
> avp_db_query()? I need to use my own schemas; I have a platform
> that absolutely does not lend itself to storing data in the avpops'
> schema. Luckily, avp_db_query() saved the day. Is there anything
> even easier, or is this the definitive and methodologically correct
> way to go?
>
> --
> Alex Balashov
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : +1-678-954-0670
> Direct : +1-678-954-0671
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list