pike.git / lib / modules / Sql.pmod / pgsql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:121:   #define BOOLOID 16   #define BYTEAOID 17   #define CHAROID 18   #define INT8OID 20   #define INT2OID 21   #define INT4OID 23   #define TEXTOID 25   #define OIDOID 26   #define XMLOID 142   #define FLOAT4OID 700 + #define FLOAT8OID 701   #define MACADDROID 829   #define INETOID 869 /* Force textmode */   #define BPCHAROID 1042   #define VARCHAROID 1043   #define CTIDOID 1247   #define UUIDOID 2950      #define PG_PROTOCOL(m,n) (((m)<<16)|(n))      //! @decl void create()
pike.git/lib/modules/Sql.pmod/pgsql.pike:745:    default:value=_c.getstring(collen);    break;    case CHAROID:value=atext?_c.getstring(1):_c.getbyte();    break;    case BOOLOID:value=_c.getbyte();    if(atext)    value=value?"t":"f";    break;    case INT8OID:value=_c.getint64();    break; + #if SIZEOF_FLOAT>=8 +  case FLOAT8OID: + #endif    case FLOAT4OID:    value=_c.getstring(collen);    if(!atext)    value=(float)value;    break;    case INT2OID:value=_c.getint16();    break;    case OIDOID:    case INT4OID:value=_c.getint32();    }