Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id 592C8475ECE for ; Mon, 25 Mar 2002 15:24:43 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa02282; 25 Mar 2002 15:24 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 PAA27762 for ; Mon, 25 Mar 2002 15:24:42 -0500 Message-ID: <011c01c1d43b$97ff1440$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List References: <00cc01c1d435$f35677d0$de138f80@virginia.edu> Subject: Re: broken view? Date: Mon, 25 Mar 2002 15:28:15 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0119_01C1D411.AF0F1BA0" 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/313 X-Sequence-Number: 3847 This is a multi-part message in MIME format. ------=_NextPart_000_0119_01C1D411.AF0F1BA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable got it working....I was trying to create and rename the view but apparently= that breaks some sort of link. It worked when I completely removed the existing view and then recreated wi= th original name from scratch. thanks anyway... Jodi ----- Original Message -----=20 From: Jodi Kanter=20 To: Postgres Admin List=20 Sent: Monday, March 25, 2002 2:47 PM Subject: [ADMIN] broken view? I had a view set up and then went and had to change one of the tables tha= t was referenced in the view. I needed to drop one of the field in this par= ticular table so I created a temp table (without the field I wanted to elim= inate) 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 acces= s 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 = table? So I decided to recreate the view using the new table but when I try to d= o that I get the following error: ERROR: Attempt to insert rule "_RETam_spots_usf_view" failed: already ex= ists I cannot seem to determine what this last error is telling me. Any though= ts? Thanks Jodi Kanter _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20=20=20 =20=20=20 =20=20=20 ------=_NextPart_000_0119_01C1D411.AF0F1BA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
got it working....I was trying to create and rename the view but appar= ently=20 that breaks some sort of link.
It worked when I completely removed the existing view and then recreat= ed=20 with original name from scratch.
thanks anyway...
Jodi
----- Original Message -----
Fro= m:=20 Jodi= =20 Kanter
To: Postgres Admin List
Sent: Monday, March 25, 2002 2:47= =20 PM
Subject: [ADMIN] broken view?

I had a view set up and then went and had to change one of the table= s=20 that was referenced in the view. I needed to drop one of the field in thi= s=20 particular table so I created a temp table (without the field I wanted to= =20 eliminate) and then moved the data in. I dropped the original table and= =20 thought I was ok.
Today I am getting the following error from any query that tries to= =20 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=20 table?
 
So I decided to recreate the view using the new table but when I try= to=20 do that I get the following error:
 
ERROR:  Attempt to insert rule "_RETam_spots_usf_view" failed:= =20 already 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
<= SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 11pt; mso-bidi-font-size: 12.0pt;= mso-fareast-font-family: 'MS Mincho'">

 

 

 

------=_NextPart_000_0119_01C1D411.AF0F1BA0--