[Kamailio-Users] avp_db_query to SELECT a DOUBLE colomn

Alex Balashov abalashov at evaristesys.com
Wed Sep 16 10:54:27 CEST 2009


Iñaki Baz Castillo wrote:

>> For example a PostgreSQL BIGINT is unintelligible to sqlops, I found out.
> 
> What do you mean exactly?

CREATE TABLE stuff (
    id bigint PRIMARY KEY NOT NULL
);

INSERT INTO stuff VALUES (1);

...

sql_query("ca", "SELECT id FROM stuff", "ra");

$dbr(ra=>[0,0]) will be NULL.

-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the Users mailing list