Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group