Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | |||||||||||
| 0036089 | |||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
| feature request | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2017-05-24 15:16 | 2022-02-01 08:08 | ||||||
| Reporter | alostale | View Status | public | ||||||||
| Assigned To | Triage Platform Base | ||||||||||
| Priority | normal | Resolution | open | Fixed in Version | |||||||
| Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
| Projection | none | ETA | none | Target Version | |||||||
| OS | Any | Database | PostgreSQL | Java version | |||||||
| OS Version | Database version | Ant version | |||||||||
| Product Version | SCM revision | ||||||||||
| 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 | 0036089: exclude from updates all DB objects created by extensions | ||||||||||
| Description | Even all functions starting with PG_ are excluded by export/update database task, there are some other PostrgreSQL extensions that add DB objects starting with a different prefix. This forces to create ad-hoc exclude filters for each of the installed extensions. | ||||||||||
| Steps To Reproduce | 1. install pgstattuple extension [1] 2. execute update.database -> log contains errors [1] https://www.postgresql.org/docs/current/static/pgstattuple.html [^] | ||||||||||
| Proposed Solution | Exclude DB objects created by extensions, not defining exclude filters but checking in PG catalog whether they are user or extension objects. tip: check if this query covers all cases SELECT ext.extname, ext.extnamespace, ext.extrelocatable, pg_catalog.pg_describe_object(dep.classid, dep.objid, 0) AS "Object Description" FROM pg_catalog.pg_depend dep JOIN pg_catalog.pg_extension ext on dep.refobjid = ext.oid WHERE dep.refclassid = 'pg_catalog.pg_extension'::pg_catalog.regclass AND dep.deptype = 'e' ORDER BY 1; | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2017-05-24 15:16 | alostale | New Issue | |
| 2017-05-24 15:16 | alostale | Assigned To | => platform |
| 2017-05-24 15:16 | alostale | OBNetwork customer | => No |
| 2017-05-24 15:16 | alostale | Modules | => Core |
| 2017-05-24 15:16 | alostale | Triggers an Emergency Pack | => No |
| 2017-05-24 15:16 | alostale | Relationship added | related to 0028149 |
| 2017-05-24 15:16 | alostale | Status | new => acknowledged |
| 2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
| Copyright © 2000 - 2009 MantisBT Group |