In: |
plruby.rb
|
Parent: | Object |
If the conversions was not disabled (—disable-conversion), the following conversions are made
PostgreSQL Ruby ---------- ---- OID Fixnum INT2OID Fixnum INT4OID Fixnum INT8OID Fixnum (or Bignum) FLOAT4OID Float FLOAT8OID Float CASHOID Float NUMERICOID Float BOOLOID true, false ABSTIMEOID Time RELTIMEOID Time TIMEOID Time TIMETZOID Time TIMESTAMPOID Time TIMESTAMPTZOID Time DATEOID Time INTERVALOID Time TINTERVALOID Tinterval (new Ruby class) BITOID BitString (new Ruby class) VARBITOID BitString (new Ruby class) INETOID NetAddr (new Ruby class) CIDROID NetAddr (new Ruby class) MACADDROID MacAddr (new Ruby class) POINTOID Point (new Ruby class) LSEGOID Segment (new Ruby class) BOXOID Box (new Ruby class) PATHOID Path (new Ruby class) POLYGONOID Polygon (new Ruby class) CIRCLEOID Circle (new Ruby class)
all others OID are converted to a String object