Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id 79D02475E71 for ; Mon, 25 Mar 2002 14:44:34 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa17451; 25 Mar 2002 14:44 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id OAA22890 for ; Mon, 25 Mar 2002 14:44:18 -0500 Message-ID: <00cc01c1d435$f35677d0$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: broken view? Date: Mon, 25 Mar 2002 14:47:52 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C9_01C1D40C.0A6064B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200203/311 X-Sequence-Number: 3845 This is a multi-part message in MIME format. ------=_NextPart_000_00C9_01C1D40C.0A6064B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 parti= cular table so I created a temp table (without the field I wanted to elimin= ate) 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.=20 ERROR: Relation "al_spots" with OID 1132243 no longer exists I assume that this is because the OIDs were changed when I recreated the ta= ble? 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 exis= ts 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 =20 =20 =20 ------=_NextPart_000_00C9_01C1D40C.0A6064B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I had a view set up and then went and had to change one of the tables = that=20 was referenced in the view. I needed to drop one of the field in this parti= cular=20 table so I created a temp table (without the field I wanted to eliminate) a= nd=20 then moved the data in. I dropped the original table and thought I was ok.<= /DIV>
Today I am getting the following error from any query that tries to ac= cess=20 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 t= he=20 table?
 
So I decided to recreate the view using the new table but when I try t= o do=20 that I get the following error:
 
ERROR:  Attempt to insert rule "_RETam_spots_usf_view" failed: al= ready=20 exists
 
I cannot seem to determine what this last error is telling me. Any=20 thoughts?
 
Thanks
Jodi Kanter

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

 

 

 

<= /DIV> ------=_NextPart_000_00C9_01C1D40C.0A6064B0--