Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007425Openbravo ERPJ. Demo datapublic2009-02-09 10:032009-02-09 10:08
dalsasua 
gorkaion 
immediatecriticalalways
closedno change required 
20rPath Linux
2.40 
2.40 
No
Core
No
0007425: When creating database in 2.40 - postgresql, an error occurs
During create.database execution, next error appears in a postgresql installation:

create.database.structure:
[createdatabase] Executing default prescript
[createdatabase] Executed 109 SQL command(s) with 0 error(s)
[createdatabase] Executing creation script
[createdatabase] for the complete database
[createdatabase] SQL Command failed with: ERROR: syntax error at or near "DBMS_OUTPUT"
[createdatabase] -- END M_INOUT_CANCEL
[createdatabase] -- -----------------------------------------------------------------------
[createdatabase] -- FUNCTION M_INOUT_CREATE
[createdatabase] -- -----------------------------------------------------------------------
[createdatabase] CREATE FUNCTION M_INOUT_CREATE(p_pinstance_id IN NUMERIC, p_inout_id OUT NUMERIC, p_order_id IN NUMERIC, p_invoice_id IN NUMERIC, p_forcedelivery IN CHAR, p_locator_id IN NUMERIC)
[createdatabase]
[createdatabase] AS $BODY$ DECLARE
[createdatabase] /*************************************************************************
[createdatabase] * The contents of this file are subject to the Compiere Public

...
...

[createdatabase] END ; $BODY$ LANGUAGE plpgsql;
[createdatabase] Executed 4987 SQL command(s) with 1 error(s)
[createdatabase] Executed 1 forced SQL command(s) with 0 error(s)
[createdatabase] Executing default postscript
[createdatabase] Executed 6 SQL command(s) with 0 error(s)
Check-out https://dev.openbravo.com/svn/openbravo/branches/r2.40, [^] configure a postgresql database, and run a create.database ant task.
No tags attached.
depends on backport 00074262.40 closed gorkaion When creating database in 2.40 - postgresql, an error occurs 
Issue History
2009-02-09 10:03dalsasuaNew Issue
2009-02-09 10:03dalsasuaAssigned To => rafaroda
2009-02-09 10:03dalsasuasf_bug_id0 => 2580859
2009-02-09 10:03dalsasuaOBNetwork customer => No
2009-02-09 10:03dalsasuaRegression testing => No
2009-02-09 10:07rafarodaAssigned Torafaroda => gorkaion
2009-02-09 10:07rafarodaPrioritynormal => immediate
2009-02-09 10:07rafarodaSeveritymajor => critical
2009-02-09 10:07rafarodaversion => 2.40
2009-02-09 10:07rafarodaStatusnew => scheduled
2009-02-09 10:07rafarodafix_in_branch => trunk
2009-02-09 10:08rafarodaStatusscheduled => closed
2009-02-09 10:08rafarodaNote Added: 0013246
2009-02-09 10:08rafarodaResolutionopen => no change required

Notes
(0013246)
rafaroda   
2009-02-09 10:08   
No change is required in trunk source code. Backport to 2.40 maintenance branch remains open: https://issues.openbravo.com/view.php?id=7426 [^]