A schema with useful functions, tables and views for PostgreSQL, for analyzing database performance, viewing statistics etc.
See the source for details on what's there.
Execute
psql DBNAME -f postgres_useful.sql -1
in your database. If you have "adm" schema there, it will be erased by this executing this script, so be careful.
MIT License: http://opensource.org/licenses/MIT
IMPORTANT NOTE this file may contain code, created by other authors. It is a result of collecting useful queries from the whole internet, spanning several years. It is impossible to establish the real source of parts of this code and it's license now. If you see your code here, and you don't want it to be here, contact us, and we will remove it immediately.