Skip to content

Cache RowDescription #3

@elbaro

Description

@elbaro
Client                              Server
  │                                   │
  │─── Parse ────────────────────────>│
  │<───────────────── ParseComplete ──│
  │                                   │
  │─── Bind ─────────────────────────>│
  │<───────────────── BindComplete ───│
  │                                   │
  │─── Describe (optional) ──────────>│
  │<───────────────── ParameterDesc ──│  (if statement)
  │<───────────────── RowDescription ─│  (or NoData)

The same prepared statement with different binds return the same RowDescription if we always request the binary format.
RowDescription can be stored within PreparedStatement. Also, the user can manually hint like stmt.set_row_description(..)

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