Skip to content

pending client won't wake up when using prepared statement #12

Closed
@ycdeng

Description

@ycdeng

Hi, I'm testing builtin-pool.
The problem is channel_read() function of proxy.c.
When using prepared statement, a message contains multiple commands, for example, "Parse", "Bind" ... . If a client execute prepared statement and wait for free backend, on condition "Backend was not assigned", only the first command , for example ,"Parse" will be sent when pending client is served.
therefore, the backend is waiting for next command from client , and client is waiting for the respond from backend.

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