Re: Need help with dropping a view please

From: Royce Ausburn <royce(dot)ml(at)inomial(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Need help with dropping a view please
Date: 2011-08-27 02:07:39
Message-ID: 5BEBCCB5-87D3-40FF-9087-C8684EE4D56D@inomial.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I created a new view called "clients2" with the same member tables as clients and it works I can query it.
>
> But due to the many hardcoded places that use "clients" view, I have to have "clients" view. So I tried to drop clients view but cannot
>
> #DROP view clients;
> ERROR: missing chunk number 0 for toast value 16538

I've no idea if this will work, but have you tried renaming the "clients" view and renaming "clients2" to "clients" to replace it?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pasman pasmański 2011-08-27 05:19:59 Re: Need help with dropping a view please
Previous Message John Moran 2011-08-27 00:40:57 Performing upgrade to latest minor release using PGDG RPMs