Re: Don't cascade drop to view

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Don't cascade drop to view
Date: 2008-01-17 14:27:50
Message-ID: fmnopj$2tim$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2008-01-17 14:37:29 Re: [ADMIN] postgresql in FreeBSD jails: proposal
Previous Message Dave Page 2008-01-17 13:58:36 Re: [ADMIN] postgresql in FreeBSD jails: proposal