Re: Mysterious 7.0.3 error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Camm Maguire <camm(at)enhanced(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Mysterious 7.0.3 error
Date: 2001-01-17 15:31:21
Message-ID: 16953.979745481@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Camm Maguire <camm(at)enhanced(dot)com> writes:
> Greetings! We have a script updating our database with thousands of
> entries on a daily basis. To speed up processing, we drop a
> consistency check trigger before the update and recreate it
> afterwards. Occasionally, we get the following, even though the
> database has no other live connections, and the trigger drop is the
> first statement:

> drop trigger rprices_insupdel on rprices;
> DROP
> ERROR: RelationClearRelation: relation 160298 modified while in use

Are you doing other schema changes (like other instances of this script)
in parallel? Or vacuums of system tables? Those are the cases I recall
that might trigger this problem.

> Any pointers most appreciated!

Live with it until 7.1 :-(.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2001-01-17 15:50:37 AW: AW: AW: AW: Re: tinterval - operator problems on AI X
Previous Message Robert E. Bruccoleri 2001-01-17 15:30:46 Re: Re: Performance degradation in PostgreSQL 7.1beta3 vs