Re: Why table has drop, but the foreign key still there?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Raymond Chui <raymond(dot)chui(at)noaa(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: Why table has drop, but the foreign key still there?
Date: 2003-08-13 19:53:03
Message-ID: 10660.1060804383@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-sql

Raymond Chui <raymond(dot)chui(at)noaa(dot)gov> writes:
> drop table whitepage;
> delete from state where state_code = 'GU';
> ERROR: Relation "whitepage" does not exist

> Why I got this error message??!!

I could not duplicate this error. What PG version are you running?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rod Taylor 2003-08-13 19:54:19 Re: Why table has drop, but the foreign key still there?
Previous Message Stephan Szabo 2003-08-13 19:38:29 Re: Why table has drop, but the foreign key still there?

Browse pgsql-general by date

  From Date Subject
Next Message Rod Taylor 2003-08-13 19:54:19 Re: Why table has drop, but the foreign key still there?
Previous Message Stephan Szabo 2003-08-13 19:38:29 Re: Why table has drop, but the foreign key still there?

Browse pgsql-sql by date

  From Date Subject
Next Message Rod Taylor 2003-08-13 19:54:19 Re: Why table has drop, but the foreign key still there?
Previous Message Rod Taylor 2003-08-13 19:50:16 Re: Porting from PL/SQL to PLPGSQL