Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007426Openbravo ERPJ. Demo datapublic2009-02-09 10:032009-03-04 10:38
dalsasua 
gorkaion 
immediatecriticalalways
closedfixed 
20rPath Linux
2.40 
2.402.40MP3 
No
Core
No
0007426: 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.
blocks defect 00074252.40 closed gorkaion When creating database in 2.40 - postgresql, an error occurs 
Issue History
2009-02-09 10:07rafarodaTypedefect => backport
2009-02-09 10:07rafarodafix_in_branch => 2.40
2009-02-09 11:18svnbotCheckin
2009-02-09 11:18svnbotNote Added: 0013249
2009-02-09 11:18svnbotStatusscheduled => resolved
2009-02-09 11:18svnbotResolutionopen => fixed
2009-02-09 11:18svnbotsvn_revision => 12944
2009-03-03 17:32psarobeFixed in Version => 2.40MP3
2009-03-04 10:38psarobeStatusresolved => closed

Notes
(0013249)
svnbot   
2009-02-09 11:18   
Repository: openbravo
Revision: 12944
Author: gorkaion
Date: 2009-02-09 11:18:32 +0100 (Mon, 09 Feb 2009)

Fixed bug 7426. Changed to uppercase the dbms_output.put_line commands

---
U branches/r2.40/src-db/database/model/functions/M_INOUT_CREATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12944&sc=1 [^]