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

2003-08-14 Thread Tom Lane
Raymond Chui [EMAIL PROTECTED] 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

[ADMIN] Why table has drop, but the foreign key still there?

2003-08-14 Thread Raymond Chui
Here are the simple things I did create table state ( state_code char(2) not null, state varchar(15) not null, primary key (state_code) ); create table whitepage ( user_id char(8) not null, email varchar(50), telephone char(16) not null, contact_namevarchar(30) not

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

2003-08-14 Thread Rod Taylor
insert into state (state_code,state) values ('GU','Guam'); drop table whitepage; delete from state where state_code = 'GU'; ERROR: Relation whitepage does not exist Old version of PostgreSQL? Effort went into cleaning up inter-object dependencies in 7.3. I don't recall having that

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

2003-08-14 Thread Stephan Szabo
On Wed, 13 Aug 2003, Raymond Chui wrote: Here are the simple things I did create table state ( state_code char(2) not null, state varchar(15) not null, primary key (state_code) ); create table whitepage ( user_id char(8) not null, email varchar(50), telephone