Re: Don't cascade drop to view - Mailing list pgsql-general

From Sim Zacks
Subject Re: Don't cascade drop to view
Date
Msg-id fmnopj$2tim$1@news.hub.org
Whole thread Raw
In response to Don't cascade drop to view  (Peter Bauer <peter.bauer@apus.co.at>)
Responses Re: Don't cascade drop to view
List pgsql-general
Unfortuantely, there is no way around it.
Without cascade it won't let you delete the schema or table.
Functions will not be dropped.

Sim

Peter Bauer wrote:
> Hi all,
>
> i made some views for the slony1 configuration tables in the public schema
> which refer to tables in the _slony1 schema. My problem now is that if the
> _slony1 schema is dropped with cascade or slony is uninstalled, these views
> are also dropped and i have to recreate them if slony is initialized again.
> Is there a possibility to let the views live there even if the refered schema
> or tables are dropped? Would a plpgsql Function also be dropped?
>
> thx,
> Peter
>

pgsql-general by date:

Previous
From: Peter Bauer
Date:
Subject: Don't cascade drop to view
Next
From: "James B. Byrne"
Date:
Subject: Re: Help with pre-loaded arbitrary key sequences