Handle support/permissions errors in info call (#635)

* Handle support/permissions errors in info call
* Fix linting
This commit is contained in:
Dan Sosedoff
2023-01-17 16:05:15 -06:00
committed by GitHub
parent 96bd15b3e2
commit b2b0094b5e
4 changed files with 68 additions and 15 deletions

View File

@@ -14,6 +14,9 @@ var (
//go:embed sql/info.sql
Info string
//go:embed sql/info_simple.sql
InfoSimple string
//go:embed sql/estimated_row_count.sql
EstimatedTableRowCount string

View File

@@ -0,0 +1,6 @@
SELECT
session_user,
current_user,
current_database(),
current_schemas(false),
version()