function schema() returns setof text
public
It should behave as follows:
db=# select * from schema(); tables --------------------------- table1(x, y, z) table2(a, b) table3(id, name, address) ...