You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2002/02/16 19:25:01 UTC

cvs commit: jakarta-turbine-torque/src/templates/sql/base/postgresql db.props

dlr         02/02/16 10:25:01

  Modified:    src/templates/sql/base/postgresql db.props
  Log:
  Updates from Colm McCartan <co...@owl.co.uk>, mostly for better
  mapping of binary data types.
  
  -BIGINT = int4
  +BIGINT = int8
   FLOAT = float
   REAL = float
   BOOLEANCHAR = boolean
  @@ -15,13 +15,13 @@
   DECIMAL =
   CHAR = varchar
   VARCHAR = varchar
  -LONGVARCHAR = varchar
  +LONGVARCHAR = bytea
   DATE = date
   TIME = time
   TIMESTAMP = timestamp
  -BINARY =
  -VARBINARY = oid
  -LONGVARBINARY =
  +BINARY = bytea
  +VARBINARY = bytea
  +LONGVARBINARY = bytea
   NULL =
   OTHER =
   JAVA_OBJECT =
  @@ -29,7 +29,7 @@
   STRUCT =
   ARRAY =
   BLOB =
  -CLOB =
  +CLOB = text
  
  Revision  Changes    Path
  1.3       +6 -6      jakarta-turbine-torque/src/templates/sql/base/postgresql/db.props
  
  Index: db.props
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/base/postgresql/db.props,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- db.props	29 Oct 2001 04:07:26 -0000	1.2
  +++ db.props	16 Feb 2002 18:25:01 -0000	1.3
  @@ -5,7 +5,7 @@
   TINYINT = int2
   SMALLINT = int2
   INTEGER = integer
  -BIGINT = int4
  +BIGINT = int8
   FLOAT = float
   REAL = float
   BOOLEANCHAR = boolean
  @@ -15,13 +15,13 @@
   DECIMAL =
   CHAR = varchar
   VARCHAR = varchar
  -LONGVARCHAR = varchar
  +LONGVARCHAR = bytea
   DATE = date
   TIME = time
   TIMESTAMP = timestamp
  -BINARY =
  -VARBINARY = oid
  -LONGVARBINARY =
  +BINARY = bytea
  +VARBINARY = bytea
  +LONGVARBINARY = bytea
   NULL =
   OTHER =
   JAVA_OBJECT =
  @@ -29,7 +29,7 @@
   STRUCT =
   ARRAY =
   BLOB =
  -CLOB =
  +CLOB = text
   REF =
   
   AUTOINCREMENT = serial
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>