Skip to content

Implement parameter binding in extended query flow #1

Description

@returnString

Postgres' extended query flow allows clients to present a statement for parsing that contains placeholder vars ($1, $2, ...$n) and later fill in these vars at the bind phase. However, sqlparser doesn't currently support placeholders (see apache/datafusion-sqlparser-rs#145).

Once the parser supports this, we should:

  • Pass the relevant data from the stream to ClientMessage::Bind (this is presently read, but immediately discarded)
  • Update the portal interface to accept param bindings
  • Fill out a proper ParameterDescription in response to prepared statement describe requests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions