Re: Finding tables dropped by DROP TABLE CASCADE - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Finding tables dropped by DROP TABLE CASCADE
Date
Msg-id 20110817.095237.826129732210052519.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Finding tables dropped by DROP TABLE CASCADE  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Finding tables dropped by DROP TABLE CASCADE
Re: Finding tables dropped by DROP TABLE CASCADE
List pgsql-hackers
> Presumably it would also need to invalidated if someone did ALTER
> TABLE (which might recurse into unspecified children).

Good point. For DROP TABLE/ALTER TABLE, I need to take care of its chidren.

> It sort of seems like what you want to do is snoop the sinval traffic...

It's hard for pgpool-II since there's no API in PostgreSQL for
that. Maybe I will look into the system catalog to find out
children. I'm not sure if I can deal with CASCADE by the same method
though.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Finding tables dropped by DROP TABLE CASCADE
Next
From: Tom Lane
Date:
Subject: Re: synchronized snapshots