function drush_sql_show_tables_pgsql

6.x sql.drush.inc drush_sql_show_tables_pgsql()
4.x sql.drush.inc drush_sql_show_tables_pgsql()
5.x sql.drush.inc drush_sql_show_tables_pgsql()
2 calls to drush_sql_show_tables_pgsql()
_drush_sql_get_db_table_list in commands/sql/sql.drush.inc
Extract the name of all existing tables in the given database.
_drush_sql_query in commands/sql/sql.drush.inc
Execute a SQL query.

File

commands/sql/sql.drush.inc, line 1385
Drush sql commands

Code

function drush_sql_show_tables_pgsql() {
  return "select tablename from pg_tables where schemaname='public';";
}