Avoid downcast from long to int in PG type handling [DBZ-614]
Open
component/postgresql-connector
migrated-from-jira
type/enhancement
- Dominant language
- HTML
- Stars
- 6
- Forks
- 8
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Description
Migrated from [DBZ-614](https://issues.redhat.com/browse/DBZ-614)
TypeRegistry#get() only accepts an int, but the original inbound type id type is long, so we should avoid that downcast to prevent any value loss.
Contributor guide
Research direction
Start by locating the PostgreSQL type-handling code and TypeRegistry#get(), then trace the inbound type ID from its original long representation to that lookup. Confirm the change preserves the full value without a downcast and verify the existing PostgreSQL type-handling tests, if present, cover large IDs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100