pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yasuhiro Furuse <yfuruse@kobeoffshore.com>
To: pgsql-sql@postgresql.org
Subject: Relation 0 does not exist
Date: Sat, 25 Feb 2006 16:06:41 +0900
Message-ID: <200602250706.k1P76sH49189@ora.primehs.net> (raw)

Hi.

When I run SQL command, I've got the error messe 'Relation 0 doesn't exist'
and following log messages were generated.
After this error happens, I can not access database at all.

Could you kindly advise why this kind of error happens?

Regards,
y.furuse

----------------------------------------------------------------------------
---------------------------------------------------------------
[Version]
PosrgreSQL7.2.4

[SQL command]
INSERT INTO SDBA2 SELECT * FROM VHIST2 ;

[TABLE Layout]
CREATE TABLE SDBA2(
Client		TEXT,	
RESVNO	TEXT,
DEPT		TEXT,	
CUSTID		TEXT,	
DT		DATE,	
TM     		INT,	
DTM     		TEXT,	
RESVTM	TIMESTAMP,	
CPLTTM	TIMESTAMP,	
WTM		INTERVAL,
STM		INTERVAL,
OBJ		TEXT,	
METHOD	TEXT,	
COMTM	TEXT,	
DIAG		TEXT,	
TREAT		TEXT,	
NEXT		TEXT,	
AG		TEXT,	
AGDAYS	INT,	
AGDT		DATE,
FU		TEXT,	
FUDAYS	INT,	
FUDT		DATE,
PS		TEXT,	
PSDAYS	INT,	
PSDT		DATE,
STS		TEXT,	
COMMNT  	TEXT,	
AGE		INT,
SEX		TEXT,	
OCCUP		TEXT,	
ITYP		TEXT,
ATT1		TEXT,	
PRIMARY KEY(CLIENT,RESVNO)
);


[LOG message]
Feb 25 02:30:01  postgres[736]: [1] DEBUG:  server process (pid 32278) was
terminated by signal 11
Feb 25 02:30:01  postgres[736]: [2] DEBUG:  terminating any other active
server processes
Feb 25 02:30:01  postgres[736]: [3] DEBUG:  all server processes terminated;
reinitializing shared memory and semaphores
Feb 25 02:30:01  postgres[32289]: [4] DEBUG:  database system was
interrupted at 2006-02-25 01:52:52 JST
Feb 25 02:30:01  postgres[32289]: [5] DEBUG:  checkpoint record is at
1/1DE7CE8C
Feb 25 02:30:01  postgres[32289]: [6] DEBUG:  redo record is at 1/1DE7CE8C;
undo record is at 0/0; shutdown FALSE
Feb 25 02:30:01  postgres[32289]: [7] DEBUG:  next transaction id: 6670787;
next oid: 117726
Feb 25 02:30:01  postgres[32289]: [8] DEBUG:  database system was not
properly shut down; automatic recovery in progress
Feb 25 02:30:01  postgres[32289]: [9] DEBUG:  ReadRecord: record with zero
length at 1/1DE7CECC
Feb 25 02:30:01  postgres[32289]: [10] DEBUG:  redo is not required
Feb 25 02:30:11  postgres[32289]: [11] DEBUG:  database system is ready
Feb 25 03:00:00  postgres[1006]: [4] ERROR:  cannot open segment 1 of
relation pg_statistic_relid_att_index (target block 858666545): No such file
or directory
Feb 25 03:30:00  postgres[2452]: [4] ERROR:  cannot open segment 1 of
relation pg_statistic_relid_att_index (target block 858666545): No such file
or directory
Feb 25 04:00:00  postgres[3896]: [4] ERROR:  cannot open segment 1 of
relation pg_statistic_relid_att_index (target block 858666545): No such file
or directory





view thread (3+ messages)  latest in thread

Message-ID: <200602250706.k1P76sH49189@ora.primehs.net>
Permalink:  ../200602250706.k1P76sH49189@ora.primehs.net/
Also on:    postgresql.org/message-id/200602250706.k1P76sH49189@ora.primehs.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: yfuruse@kobeoffshore.com
  Subject: Re: Relation 0 does not exist
  In-Reply-To: <200602250706.k1P76sH49189@ora.primehs.net>

* 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