Skip to content

Connection pool docs inconsistency? #1165

Closed
@elliotwaite

Description

@elliotwaite

What happens to a connection's prepared statements when a connection is released?

The Connection Pool docs say prepared statements become invalid once a connection is released:

Prepared statements and cursors returned by Connection.prepare() and Connection.cursor() become invalid once the connection is released.

But the Pool docs say that prepared statements are not reset when a connection is released:

Once a connection is released, it’s reset to close all open cursors and other resources except prepared statements.

Is there a difference between a prepared statement becoming invalid and being reset, or are the docs incorrect in one of these places, or am I misunderstanding something?

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