static bool isSigned()

in contrib/native/client/src/clientlib/fieldmeta.cpp [120:176]


static bool isSigned(common::MinorType type, common::DataMode mode) {
  if (mode == common::DM_REPEATED) {
    return false;// SQL ARRAY
  }

  switch(type) {
    case common::SMALLINT:
    case common::INT:
    case common::BIGINT:
    case common::FLOAT4:
    case common::FLOAT8:

    case common::DECIMAL9:
    case common::DECIMAL18:
    case common::DECIMAL28DENSE:
    case common::DECIMAL38DENSE:
    case common::DECIMAL38SPARSE:
    case common::VARDECIMAL:

    case common::INTERVALYEAR:
    case common::INTERVALDAY:
    case common::INTERVAL:
    case common::MONEY:
    case common::TINYINT:
      return true;

    case common::BIT:
    case common::VARCHAR:
    case common::FIXEDCHAR:

    case common::VAR16CHAR:
    case common::FIXED16CHAR:

    case common::VARBINARY:
    case common::FIXEDBINARY:

    case common::DATE:
    case common::TIME:
    case common::TIMETZ:
    case common::TIMESTAMP:
    case common::TIMESTAMPTZ:

    case common::MAP:
    case common::LATE:
    case common::DM_UNKNOWN:
    case common::UNION:

    case common::UINT1:
    case common::UINT2:
    case common::UINT4:
    case common::UINT8:
      return false;

    default:
      return false;
  }
}