I could not see any row in audit table

From: Shailesh Singh <shailesh(dot)singh1988(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: I could not see any row in audit table
Date: 2017-01-25 05:28:29
Message-ID: CANLO8r8K+Wpw_hgv6H=j-=Ti_VZB3QdFit2LzBUb-+WQX2VVWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Dear Group Member ,

I had configured the audit trigger for my datbase following the below
document url:

*https://wiki.postgresql.org/wiki/Audit_trigger_91plus
<https://wiki.postgresql.org/wiki/Audit_trigger_91plus>*
Now my audit table :

CREATE TABLE audit.logged_actions (
event_id bigserial PRIMARY KEY,
schema_name text NOT NULL,
TABLE_NAME text NOT NULL,
relid oid NOT NULL,
session_user_name text,
action_tstamp_tx TIMESTAMP WITH TIME ZONE NOT NULL,
action_tstamp_stm TIMESTAMP WITH TIME ZONE NOT NULL,
action_tstamp_clk TIMESTAMP WITH TIME ZONE NOT NULL,
transaction_id BIGINT,
application_name text,
client_addr inet,
client_port INTEGER,
client_query text NOT NULL,
action CHAR(1) NOT NULL CHECK (action IN ('I','D','U', 'T')),
row_data hstore,
changed_fields hstore,
statement_only BOOLEAN NOT NULL);

Now this table contains 50 GB of data , But when taking its backup using
pg_dump and after restoring , it show that it has zero row.

How to see the restored data?

--
With Regards!
Shailesh Singh

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Flower 2017-01-25 06:32:53 Re: What is the purpose of PostGIS on PostgreSQL?
Previous Message Michael Paquier 2017-01-25 01:37:59 Re: Detailed progress reporting for "vacuuming indexes" stage

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-01-25 05:31:00 Re: Assignment of valid collation for SET operations on queries with UNKNOWN types.
Previous Message Ashutosh Bapat 2017-01-25 05:28:04 Re: Assignment of valid collation for SET operations on queries with UNKNOWN types.