Skip to content

Exposing the Field and table object ID's #363

@calledit

Description

@calledit

Looking at:
http://www.postgresql.org/docs/current/static/protocol-message-formats.html
Scrolling down to:
RowDescription (B)

One can see that postgres does submit the id of the column & table of each result field.

looking at the function parseMeta:
https://github.com/lib/pq/blob/master/conn.go#L1401
We ignore the 6 bytes that is the column & table id could we expose these Id's in the api somehow? Or would that be hinderd by go's sql package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions