code: func (*PostgresDB) GetTableNames(db *sql.DB) (tables []string) {
  	rows, err := db.Query(`
  		SELECT table_name FROM information_schema.tables
  		WHERE table_catalog = current_database() AND
  		table_type = 'BASE TABLE' AND
  		table_schema NOT IN ('pg_catalog', 'information_schema')`)
  	if err != nil {
  		beeLogger.Log.Fatalf("Could not show tables: %s", err)
  	}
  	defer rows.Close()
  
  	for rows.Next() {
  		var name string
  		if err := rows.Scan(&name); err != nil {
  			beeLogger.Log.Fatalf("Could not show tables: %s", err)
  		}
  		tables = append(tables, name)
  	}
  	return
  }
docs: // GetTableNames for PostgreSQL