api: sql statements: replace spaces with tabs
This commit is contained in:
@@ -15,10 +15,10 @@ func failTestOnError(t *testing.T, err error) {
|
||||
|
||||
func getPublicTables() ([]string, error) {
|
||||
statement := `
|
||||
SELECT tablename
|
||||
FROM pg_tables
|
||||
WHERE schemaname='public';
|
||||
`
|
||||
SELECT tablename
|
||||
FROM pg_tables
|
||||
WHERE schemaname='public';
|
||||
`
|
||||
rows, err := db.Query(statement)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "cannot query public tables: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user