Skip to content

chore: emulate oid data type with hash function#4277

Merged
olavloite merged 1 commit intopostgresql-dialectfrom
oid-as-int
Apr 2, 2026
Merged

chore: emulate oid data type with hash function#4277
olavloite merged 1 commit intopostgresql-dialectfrom
oid-as-int

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

Use the farm_fingerprint function to emulate the oid of tables, instead of using the table name directly. This ensures that the data type that is being returned is an int, which is much more like the original oid data type.

Towards #4276

@olavloite olavloite force-pushed the oid-as-int branch 2 times, most recently from 037290e to b2b1b94 Compare March 31, 2026 13:22
Use the farm_fingerprint function to emulate the oid of tables, instead of using the
table name directly. This ensures that the data type that is being returned is an int,
which is much more like the original oid data type.

Towards #4276
@olavloite olavloite requested a review from rayudu3745 April 2, 2026 06:10
@olavloite olavloite merged commit ab3ec98 into postgresql-dialect Apr 2, 2026
46 checks passed
@olavloite olavloite deleted the oid-as-int branch April 2, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants