From: Adriano Sperandio <adriano.sperandio@by7.com.br>
To: pgsql-bugs@postgresql.org
Subject: ERROR: could not open relation with OID 22617039
Date: Tue, 16 Jun 2015 14:51:19 -0300
Message-ID: <0a2201d0a85d$0dcf03c0$296d0b40$@by7.com.br> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello, I'm experiencing a problem when I run a given query. the error does
not occur when I run the same query again.
I tried to search the object by OID, but have not found.
My Version:
----------------------------------------------------------------------------
----------------------------
PostgreSQL 9.1.15 on x86_64-unknown-linux-gnu, compiled by gcc-4.4.real
(Debian 4.4.5-8) 4.4.5, 64-bit
(1 row)
Command:
create temporary table qfabs as (select f.*
from
fabs as f,
(select
setor, ramo, comunidade
from
comunidades
where
setor = 177
) as c
where
( (f.ano> 2014) or (f.ano = 2014 and
f.mes>= 6) ) and
( (f.ano< 2015) or (f.ano = 2015 and
f.mes<= 5) ) and
( f.setor = c.setor and f.ramo = c.ramo and
f.comunidade = c.comunidade )
)
PostgreSql Error:
ERROR: could not open relation with OID 22617039
pastcri-dev=> SELECT oid FROM pg_class where oid=22617039;
oid
-----
(0 rows)
pastcri-dev=> select relname, relkind from pg_class where relfilenode
=22617039;
relname | relkind
---------+---------
(0 rows)
Adriano Sperandio
Diretor de Serviços e Projetos
E-mail: <mailto:adriano.sperandio@by7.com.br> adriano.sperandio@by7.com.br
<tel:%2B55%2047%203432-9000> +55 47 3432-9000 / 47 92225010
---
Microsoft Certified Professional
Microsoft Certified Technology Specialist
Oracle Database 11g Administrator Certified Associate
Attachments:image001.png (image/png, 42.3K) downloadview image
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-bugs@postgresql.org
Cc: adriano.sperandio@by7.com.br
Subject: Re: ERROR: could not open relation with OID 22617039
In-Reply-To: <0a2201d0a85d$0dcf03c0$296d0b40$@by7.com.br>
References: <0a2201d0a85d$0dcf03c0$296d0b40$@by7.com.br>
* 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