File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 43
43
#define FLOAT4OID 700
44
44
#define FLOAT8OID 701
45
45
#define CASHOID 790
46
+ #define NUMERICOID 1700
46
47
47
48
static PyObject * PGError ;
48
49
static const char * PyPgVersion = "3.1" ;
@@ -298,6 +299,7 @@ get_type_array(PGresult *result, int nfields)
298
299
299
300
case FLOAT4OID :
300
301
case FLOAT8OID :
302
+ case NUMERICOID :
301
303
typ [j ] = 2 ;
302
304
break ;
303
305
@@ -1805,6 +1807,7 @@ pgquery_getresult(pgqueryobject * self, PyObject * args)
1805
1807
1806
1808
case FLOAT4OID :
1807
1809
case FLOAT8OID :
1810
+ case NUMERICOID :
1808
1811
typ [j ] = 2 ;
1809
1812
break ;
1810
1813
@@ -1940,6 +1943,7 @@ pgquery_dictresult(pgqueryobject * self, PyObject * args)
1940
1943
1941
1944
case FLOAT4OID :
1942
1945
case FLOAT8OID :
1946
+ case NUMERICOID :
1943
1947
typ [j ] = 2 ;
1944
1948
break ;
1945
1949
You can’t perform that action at this time.
0 commit comments