Select (retrieve) all records from multiple schemas using Postgres

With inheritance like @Denis mentioned, this would be very simple. Works for Postgres 8.4, too. Be sure to consider the limitations. Basically, you would have a master table, I suppose in a master schema: CREATE TABLE master.product (title text); And all other tables in various schemata inherit from it, possibly adding more local columns: CREATE … Read more