pgsql/src/interfaces/python pgmodule.c

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/python pgmodule.c
Date: 2001-10-16 13:42:57
Message-ID: 200110161342.f9GDgvd45200@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)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

Browse pgsql-committers by date

  From Date Subject
Next Message barry 2001-10-16 20:05:27 pgsql/src/interfaces/jdbc/org/postgresql Conne ...
Previous Message ishii 2001-10-16 10:09:17 pgsql/ /configure.in /configure rc/include/mb/ ...