Commit 076026b
committed
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 Lenzi1 parent cfe0179 commit 076026b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
1793 | 1794 | | |
1794 | 1795 | | |
1795 | 1796 | | |
| 1797 | + | |
1796 | 1798 | | |
1797 | 1799 | | |
1798 | 1800 | | |
| |||
1940 | 1942 | | |
1941 | 1943 | | |
1942 | 1944 | | |
| 1945 | + | |
1943 | 1946 | | |
1944 | 1947 | | |
1945 | 1948 | | |
| |||
0 commit comments