Skip to content

Improve the processing of portal in the extend query. #32

@leeraya

Description

@leeraya

Function Description

This is an enhanced feature. TIDB originally had the concept of portal and related processing. The definition of portal is in sessionctx/variable/session.go. The portal will save the name and its corresponding sentence ID.

In the process of rewriting TiDB for PostgreSQL, it is simplified in order to quickly read the running extension protocol.

TiDB for PostgreSQL's processing is mainly in server/conn_stmt.go. It can be seen that the processing is very simple, and the portal processing needs to be improved.

Task list

  1. Improve portal processing, the code is concentrated in server/conn_stmt.go.

Expected Results

Portal's functions are more complete, and it can face complex expanded query situations

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