sosedoff/pgweb — pull request #72 by cbandy (2014-12-02 18:47:38+00:00)
Title: Schema support using regclass

See #14.

- Button to refresh table list on demand
- List tables and views based on the current search path
- Use regclass to generate properly quoted table identifiers based on the search path

Issues:
- Button placement and styling. I just plopped some bootstrap around a [↻](http://www.fileformat.info/info/unicode/char/21bb/index.htm).
- Table names. Regclass does [the "right thing"](http://www.postgresql.org/docs/current/static/datatype-oid.html), prepending the schema only when absolutely necessary (i.e. only for tables with overlapping names AND only for schemata later in the search path.) For a user with multiple schemata and little overlap, this may be confusing to see... Though it matches the logic of unqualified lookups... User feedback may be needed/best to handle this well.
- Order of table names. Given the above, I didn't [yet] pick anything by which to order the list of tables. When using search path, the most reasonable to me would be schama-search-path-order followed by alphabetical table name. Thoughts?