Branch: Tag:

2008-08-25

2008-08-25 23:39:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Polished native support for 64-bit ints and doubles.

Rev: CHANGES:1.131
Rev: lib/modules/Sql.pmod/pgsql.pike:1.36
Rev: src/modules/_PGsql/PGsql.cmod:1.29

128:   #define OIDOID 26   #define XMLOID 142   #define FLOAT4OID 700 + #define FLOAT8OID 701   #define MACADDROID 829   #define INETOID 869 /* Force textmode */   #define BPCHAROID 1042
752:    break;    case INT8OID:value=_c.getint64();    break; + #if SIZEOF_FLOAT>=8 +  case FLOAT8OID: + #endif    case FLOAT4OID:    value=_c.getstring(collen);    if(!atext)