is there any query so that I may find the list of columns those have rules? - Mailing list pgsql-general

From AI Rumman
Subject is there any query so that I may find the list of columns those have rules?
Date
Msg-id CAGoODpeWRrA5BK4zDfWCuo6M=xohRrCaAgmxs_JJYxQOXJ7p2A@mail.gmail.com
Whole thread Raw
Responses Re: is there any query so that I may find the list of columns those have rules?  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-general
I am getting the following error:
ALTER TABLE base_table ALTER COLUMN base_table_field1 TYPE numeric(10,6);
ERROR:  cannot alter type of a column used by a view or rule
DETAIL:  rule _RETURN on view master_view depends on column "base_table_field1"

I know that I have a view based in the "base_table_field1" column.

So is there any query so that I may find the list of columns those have rules?

Any help will be appreciable.


pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Complex database infrastructure - how to?
Next
From: Craig Ringer
Date:
Subject: Re: How to insert record only if primary key does not exist