Skip to content

Handle DISCARD TEMP correctly #1491

Description

@murex971

PgDog currently intercepts DISCARD TEMP without dropping temporary tables.

It should:

  • Send DISCARD TEMP to the PostgreSQL connection.
  • Clear PgDog’s temporary-table tracking after PostgreSQL succeeds.
  • Unpin the client when no temporary tables remain.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions