Skip to content

Draft: fixes BUG-54768: error reading functions if oid excedes max int value

Asier Lostalé requested to merge openbravo/devel/dbsm:fix/54768-oid into master

When oid excedes the maximum value for int in Java, an error is thrown reading functions from pg catalog.

Changed to read them as long instead of integer.

To be merged with

openbravo!1153

To Do

  • DBSM tests

    • Currently no code returns value when this param is used. To decide whether a test can be created to force it.
  • Try (backoffice): https://builds.openbravo.com/view/try/job/try-init/3384/

  • Look for other occurrences of the same problem

  • Prepare a reproducer (?). Idea from @huehner :

    Loop 2M times:

    create + drop 'some simple db objects' should not matter which
    afterwards => create function + check oid (sql in the issue)

  • Backport to customer

Edited by Augusto Mauch

Merge request reports