Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #54768 All Revisions ] Back to Issue ]
Summary 0054768: compilation error: [java] org.postgresql.util.PSQLException: Bad value for type int : 2173831272
Revision 2024-02-27 09:47 by shuehner
Steps To Reproduce Preparation
- create enough database objects (roughly 2,147,483,647)
  - It should be enough to create+drop objects just to drive up oid usage
  - There is be NO need to keep all all those objects at once
  - oid are global per database so type of objects created should not matter

- drop function next_day (to force its recreation)
- run update.database to recreate that function
- check that "SELECT proname, oid, proconfig FROM pg_proc where proname = 'next_day' returns number high enough
Reproducer:
- Run update.database
- Step reading model will read functions and trip over the high value

Note:
- next_day function is just example function to trigger this issue
- Should work for any function being read during 'Reading functions...' step
  I.e. everything not in excludeFilter.xml
Revision 2024-02-27 08:33 by shuehner
Steps To Reproduce .create more than 2,147,483,647 database functions (create and delete...)
. compile


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker