Since version 9.1, PostgreSQL supports the creation of UNLOGGED tables which do not use the WAL and are truncated during any DB recovery. See documentation: create unlogged table
Where does PostgreSQL store the information, whether a relation is UNLOGGED? I am looking for a query to list all relations that are UNLOGGED.
Thanks in advance
It is the
relpersistencecolumn of the pg_class catalog:http://www.postgresql.org/docs/9.1/static/catalog-pg-class.html