Skip to content

Fetch oids on first use #1316

@arp242

Description

@arp242

The current oid package is a static list of type oids, last updated for PostgreSQL 9.6. The oids may be different per PostgreSQL database or PostgreSQL-compatible database, and may (and do) conflict. We can't even update it to PostgreSQL 18 because some oids got re-used (#1292).

We should deprecate the oid package and fetch this from pg_settings. We can retain a list of common oids (text, int, etc.) that are unlikely to ever change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions