Re: Regarding template1 database

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Regarding template1 database
Date: 2013-04-23 07:28:14
Message-ID: 5176380E.1040704@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/22/2013 8:08 PM, S H wrote:
> I want to monitor externally, without changing the database. If there
> are some system queries which can tell me what are the number of
> database insertion/updation in the template1 ( including system table
> it will be helpful for me).

the system tables include the shared catalogs like pg_roles, which are
common with all databases and are modified by ALTER ROLE etc, and the
pg_catalog tables like pg_classes, which get modified when you do things
like CREATE TABLE. it also includes system tables like
pg_stat_activity, which contain views into postgres's innards, and are
never directly modified, just queried.

so again, your request doesn't make much sense.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vik Fearing 2013-04-23 07:37:33 Re: bug in 8.4 and resolved
Previous Message S H 2013-04-23 03:08:39 Re: Regarding template1 database