core-jgi/db/ddlutils
Carlos Ruiz e55cf6df11 Implement support for PostgreSQL 9
Merge commits from vpj-cd and redchris
http://sourceforge.net/support/tracker.php?aid=3214377
http://sourceforge.net/support/tracker.php?aid=3263111
http://sourceforge.net/support/tracker.php?aid=3214343
2011-04-22 19:52:14 -05:00
..
data FR: [ 2392587 ] Serbian on external dialogs 2008-12-05 14:53:57 +00:00
model Speed up financial reports 2008-07-15 08:47:46 +00:00
oracle FR 2851987 - Add company logo 2011-03-26 01:58:44 -05:00
postgresql Implement support for PostgreSQL 9 2011-04-22 19:52:14 -05:00
sequences
readme.txt

readme.txt

XML File
* model/*.xml
- Adempiere database schema
* data/*.xml
- Adempiere seed data

Datatype difference between Oracle and PostgreSQL
* ID Field map to Integer in postgreSQL and Number(10) in Oracle.
* Integer field map to Integer in postgreSQL, Number(10) in Oracle
  ( Oracle's Integer datatype map to number(38) which is not standard)
* PostgreSQL have no native support for CLOB and BLOB, BYTEA is use instead.
* Timestamp field map to Timestamp in PostgreSQL, DATE in Oracle.
* String field map to varchar in PostgreSQL, nvarchar2 in Oracle

Issue
* Fyracle script need to be tested by someone with access to the developer kit.
* XML model and data file to be separated by table to ease maintenance.

Note
* Integer instead of BigInt will be use as datatype for ID field to maintain compatibility
with existing schema.
* The script for Oracle create plsql functions instead of sqlj functions to support Oracle XE. 
* The script is not compatible with the original ddlutils library.