sb_get_tables_list (public)

 sb_get_tables_list

Defined in packages/schema-browser/tcl/schema-browser-procs-postgresql.tcl

Get all tables that belong to the current user.

Partial Call Graph (max 5 caller/called nodes):
%3 sb_get_tables sb_get_tables (public) sb_get_tables_list sb_get_tables_list sb_get_tables->sb_get_tables_list db_list db_list (public) sb_get_tables_list->db_list

Testcases:
No testcase defined.
Source code:
    return [db_list schema_browser_index_get_tables {
        select
          pg_class.relname as table_name
        from pg_class, pg_user
        where pg_user.usename = session_user and
          pg_user.usesysid = pg_class.relowner and
          pg_class.relkind = 'r'
        order by relname
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: