[Kamailio-Users] avp_db_query to SELECT a DOUBLE colomn
Iñaki Baz Castillo
ibc at aliax.net
Wed Sep 16 10:56:16 CEST 2009
2009/9/16 Alex Balashov <abalashov at evaristesys.com>:
> 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.
sql_...ops!
A bug?
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Users
mailing list