How to overwrite a table [only data]?

From: "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com>
To: "pgAdmin Support" <pgadmin-support(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: How to overwrite a table [only data]?
Date: 2006-10-04 11:40:15
Message-ID: 55c095e90610040440v431e15a3m34fa72ef19c239e8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-sql

Hi list,

I would like to overwrite a table with problem with his original. But there
are some points.

I can't just delete and restore it becouse it has a foreign key and when I
try to delete it ask for drop cascade.

As I know the drop cascade delete in both tables the rows related. Is it
correct ?

Regards...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Harald Armin Massa 2006-10-04 11:50:36 Re: How to overwrite a table [only data]?
Previous Message Ezequias Rodrigues da Rocha 2006-10-03 11:51:47 Re: Bug report on insert with pgadmin

Browse pgsql-sql by date

  From Date Subject
Next Message Harald Armin Massa 2006-10-04 11:50:36 Re: How to overwrite a table [only data]?
Previous Message Markus Schaber 2006-10-04 09:22:54 Re: i have table