Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wire protocol: type oid is incorrect for integer and float types #68

Open
@emarsden

Description

When returning integer, bigint, smallint, boolean and float values, the oid on the wire is 25, meaning data of type text. In contrast, date fields and bytea fields for example are sent with the correct oid. I see also that there is support for determining the PostgreSQL oid corresponding to an SQL type in map_sqlite_to_pg_type.

It would be useful if the on-the-wire oid was correct, because some PostgreSQL client libraries use this information to parse the data into the corresponding type in the host programming language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /