Could not open relation with OID (table partitioning issue?)

From: "mark" <dvlhntr(at)gmail(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Could not open relation with OID (table partitioning issue?)
Date: 2010-11-15 14:22:17
Message-ID: 017601cb84d0$82c4ca30$884e5e90$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all

Running Postgres 8.3.7

Are there any known issues with table partitioning and transactions having a
child partition getting removed out from under running queries?

I got an error in my log about not being able to open a relation with OID
XXXXX from a SELECT statement that ran about the same time that a cron job
may have removed some of the older table partitions. (that may or may not
have been visible to select query)

Right now I have been checking but I can't find anything wrong with the
database so it doesn't look like I have any db corruption issues or the like
currently. there is some hate in the logs about it for a while and then the
database was restarted.

My best guess is that a the clean up of old partitions yanked a table out
from view.. Kind of like when you run a \d at the same time a table is
dropped.

Thoughts? Comments? Ideas ?

-Mark

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message peter 2010-11-15 14:47:01 Re: Could not open relation with OID (table partitioning issue?)
Previous Message Lew 2010-11-15 13:36:12 Re: Reasons for creating linking tables?