diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-10-16 13:42:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-10-16 13:42:57 +0000 |
commit | 076026bba990e16a822408c2da9202ddb185650e (patch) | |
tree | 047f388c03dfb8bfea83f4a5aadc07a0b5398942 /src/interfaces/python/tutorial/func.py | |
parent | cfe01796e6e9a9f644247b6e1810ba95bf89832d (diff) | |
download | postgresql-076026bba990e16a822408c2da9202ddb185650e.tar.gz postgresql-076026bba990e16a822408c2da9202ddb185650e.zip |
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
Diffstat (limited to 'src/interfaces/python/tutorial/func.py')
0 files changed, 0 insertions, 0 deletions