Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0014642 | Openbravo ERP | A. Platform | public | 2010-09-22 09:22 | 2010-10-30 11:24 | |||||||
Reporter | jpabloae | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | 2.6.34 | ||||||||
Product Version | main | |||||||||||
Target Version | 3.0RC3 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0014642: PostgreSQL 9.0 support: replace pg_trigger.tgisconstraint | |||||||||||
Description | pg_trigger.tgisconstraint has been removed from PostgreSQL 9.0. This makes the install.source to throw this error: create.database.all: Database connection: jdbc:postgresql://localhost:5433/exp_full_pgsql9. [^] User: exp_full_pgsql9 Executing default prescript SQL Command failed with: ERROR: column pg_trigger.tgisconstraint does not exist -- END CREATE OR REPLACE VIEW USER_OBJECTS (TABLE_NAME, OBJECT_NAME, OBJECT_ID, OBJECT_TYPE, STATUS) AS SELECT UPPER(PG_CLASS.RELNAME), UPPER(PG_TRIGGER.TGNAME), PG_TRIGGER.TGFOID, TO_CHAR('TRIGGER'), CASE is_Trigger_Enabled(PG_TRIGGER.TGNAME) WHEN TRUE THEN TO_CHAR('VALID') ELSE TO_CHAR('INVALID') END FROM PG_TRIGGER, PG_NAMESPACE, PG_CLASS WHERE PG_TRIGGER.TGRELID = PG_CLASS.OID AND PG_TRIGGER.TGISCONSTRAINT = FALSE AND PG_CLASS.RELNAMESPACE = PG_NAMESPACE.OID AND PG_NAMESPACE.NSPNAME = CURRENT_SCHEMA() Executed 116 SQL command(s) with 1 error(s) See http://builds.openbravo.com/job/exp-full-pgsql9/3/console [^] for the complete console output. As we intend to support it for 3.0, we should ideally find a way of checking this so that it works in 8.3, 8.4 and 9.0 at the same time. Some additional information from http://www.postgresql.org/community/weeklynews/pwn20100117: [^] "(...) I also replaced the tgisconstraint column with tgisinternal; the old meaning of tgisconstraint can now be had by testing for nonzero tgconstraint, while there is no other way to get the old meaning of nonzero tgconstraint, namely that the trigger was internally generated rather than being user-created. (...)" | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | postgresql9-support | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2010-09-22 09:22 | jpabloae | New Issue | ||||||||||
2010-09-22 09:22 | jpabloae | Assigned To | => marvintm | |||||||||
2010-09-22 09:22 | jpabloae | OBNetwork customer | => No | |||||||||
2010-09-22 09:22 | jpabloae | Issue Monitored: shuehner | ||||||||||
2010-09-22 09:23 | jpabloae | Tag Attached: postgresql9-support | ||||||||||
2010-09-24 15:35 | hgbot | Checkin | ||||||||||
2010-09-24 15:35 | hgbot | Note Added: 0031353 | ||||||||||
2010-09-24 15:35 | hgbot | Status | new => resolved | |||||||||
2010-09-24 15:35 | hgbot | Resolution | open => fixed | |||||||||
2010-09-24 15:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d6f404defcf2da5444e4dd71d81f981de9a8db1c [^] | |||||||||
2010-09-28 11:10 | hgbot | Checkin | ||||||||||
2010-09-28 11:10 | hgbot | Note Added: 0031405 | ||||||||||
2010-09-29 11:57 | hudsonbot | Checkin | ||||||||||
2010-09-29 11:57 | hudsonbot | Note Added: 0031465 | ||||||||||
2010-09-29 11:57 | hudsonbot | Checkin | ||||||||||
2010-09-29 11:57 | hudsonbot | Note Added: 0031470 | ||||||||||
2010-10-27 11:18 | shuehner | Note Added: 0032249 | ||||||||||
2010-10-27 11:18 | shuehner | Status | resolved => closed | |||||||||
2010-10-30 11:24 | anonymous | sf_bug_id | 0 => 3098734 | |||||||||
2012-11-13 15:03 | shuehner | Relationship added | related to 0022286 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|