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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:969:    value = totype[0]();    value[totype[3]] = from + totype[2];    from = value;    }    if (intp(till)) {    value = totype[0]();    value[totype[3]] = till + totype[2];    till = value;    }    } -  value = __builtin.Range(from, till); +  value = Val.Range(from, till);    if (alltext)    value = (string)value;    }    break;    case CIDROID:    case INETOID:    if (_forcetext)    value = cr->read(collen);    else { -  value = __builtin.Inet(); +  value = Val.Inet();    int iptype = cr->read_int8(); // 2 == IPv4, 3 == IPv6    value->masklen = cr->read_int8() + (iptype == 2 && 12*8);    cr->read_int8(); // 0 == INET, 1 == CIDR    value->address = cr->read_hint(1);    if (alltext)    value = (string)value;    }    break;    case TIMESTAMPOID:    case TIMESTAMPTZOID: