pgsql/src/interfaces/python pgmodule.c - Mailing list pgsql-committers

From momjian@postgresql.org
Subject pgsql/src/interfaces/python pgmodule.c
Date
Msg-id 200110161342.f9GDgvd45200@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    01/10/16 09:42:57

Modified files:
    src/interfaces/python: pgmodule.c

Log message:
    Python handle as string all int8 values from postgresql. This could be
    view when using the aggregate function count() and function nextval
    that returns an int8 value, but in python is represented like string:

    >> db.query("select nextval('my_seq')").getresult()
    [('2',)]

    >> db.query("select count(*) from films").dictresult()
    [{'count': '120'}]

    Ricardo Caesar Lenzi


pgsql-committers by date:

Previous
From: ishii@postgresql.org
Date:
Subject: pgsql/ /configure.in /configure rc/include/mb/ ...
Next
From: barry@postgresql.org
Date:
Subject: pgsql/src/interfaces/jdbc/org/postgresql Conne ...