From: Luís Sousa <llsousa@ualg.pt>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: pg_restore and drop table problems
Date: Wed, 25 Oct 2006 18:13:22 +0100
Message-ID: <453F9B32.7090601@ualg.pt> (raw)
Hi again,
Version: 7.4.7-6sarge3
Structure of database: table A (id_a primary key) <-> table B (id_a,id_c
- foreign keys from table A and table C) <-> table C (id_c primary key).
Table A, table B and table C have one record for test purposes
Problem: After error on pg_restore can't drop table that gave error!
Steps to reproduce:
1. pg_dump with -Fc option from database
2. A column name on table C is changed
3. pg_restore using option -S and --disable-triggers with error
identifying that a column on table C was changed
4. drop table B. Can't drop table giving ERROR: relation "B" has
reltriggers = 0
What could be happening here?
Best regards,
Luís Sousa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: llsousa@ualg.pt
Subject: Re: pg_restore and drop table problems
In-Reply-To: <453F9B32.7090601@ualg.pt>
References: <453F9B32.7090601@ualg.pt>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox