pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jodi Kanter <jkanter@virginia.edu>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: broken view?
Date: Mon, 25 Mar 2002 14:47:52 -0500
Message-ID: <00cc01c1d435$f35677d0$de138f80@virginia.edu> (raw)

I had a view set up and then went and had to change one of the tables that was referenced in the view. I needed to drop one of the field in this particular table so I created a temp table (without the field I wanted to eliminate) and then moved the data in. I dropped the original table and thought I was ok.
Today I am getting the following error from any query that tries to access the view. 

ERROR:  Relation "al_spots" with OID 1132243 no longer exists

I assume that this is because the OIDs were changed when I recreated the table?

So I decided to recreate the view using the new table but when I try to do that I get the following error:

ERROR:  Attempt to insert rule "_RETam_spots_usf_view" failed: already exists

I cannot seem to determine what this last error is telling me. Any thoughts?

Thanks
Jodi Kanter
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu



 

 

 

view thread (2+ messages)  latest in thread

Message-ID: <00cc01c1d435$f35677d0$de138f80@virginia.edu>
Permalink:  ../00cc01c1d435$f35677d0$de138f80@virginia.edu/
Also on:    postgresql.org/message-id/00cc01c1d435$f35677d0$de138f80@virginia.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jkanter@virginia.edu
  Subject: Re: broken view?
  In-Reply-To: <00cc01c1d435$f35677d0$de138f80@virginia.edu>
  References: <00cc01c1d435$f35677d0$de138f80@virginia.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox