Skip to content

Support DROP TABLE #13

Description

@abraaoz

When I run DROP TABLE IF EXISTS logs_2025_01, pgtrio tries to prepare a statement, even though this is a DDL statement, not a DML statement. So, the following error occurs:

ERROR:  prepared statement "__pgtrio__stmt_1" does not exist
STATEMENT:  deallocate __pgtrio__stmt_1

I suggest that all DDL statements should be executed without a prepared statement.

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