Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang01 committed Dec 16, 2024
1 parent dcfad1c commit c331faf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pgserver/pg_catalog_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@ func (h *ConnectionHandler) handlePgCatalog(query ConvertedQuery) (bool, error)
})
}

// handler for show all tables
func (h *ConnectionHandler) handleShowAllTables() (bool, error) {
return true, h.query(ConvertedQuery{
String: "SELECT table_name FROM information_schema.tables WHERE table_schema = current_schema()",
StatementTag: "SELECT",
})
}

type PGCatalogHandler struct {
// HandledInPlace is a function that determines if the query should be handled in place and not passed to the engine.
HandledInPlace func(ConvertedQuery) (bool, error)
Expand Down

0 comments on commit c331faf

Please sign in to comment.