Received: from dharana.net (213-4-13-42.uc.nombres.ttd.es [213.4.13.42]) by postgresql.org (8.11.3/8.11.4) with SMTP id g0B1P3B96050 for ; Thu, 10 Jan 2002 20:25:03 -0500 (EST) (envelope-from dharana@dharana.net) Received: (qmail 5217 invoked by uid 1000); 11 Jan 2002 02:24:04 -0000 Date: Fri, 11 Jan 2002 02:24:04 +0000 From: dharana@dharana.net To: pgsql-admin@postgresql.org Subject: Fwd: db seems to be corrupt but continues to work. It won't let me do a pg_dump Message-ID: <20020111022404.B5073@zaphire.dharana.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Operating-System: Linux 2.4.10 on an i586 X-Accept-Language: en es fr X-Pgp-key: http://dharana.net/dharana.asc X-Archive-Number: 200201/59 X-Sequence-Number: 2947 --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I've a db named "4unrealers". It has been running smoothly until yesterday. While I was revising the backup process[1] I noticed this message: dharana@triton:~$ pg_dump -c 4unrealers getTableAttrs(): SELECT (for DEFAULT) for attr fmid returned 0 tuples. Expe= cted 1. Then I tried the following: dharana@triton:~$ psql 4unrealers Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit 4unrealers=3D# \d forums_messages PQgetvalue: ERROR! tuple number 0 is out of range 0..-1 Violaci=F3n de segmento (Segmentation Fault) dharana@triton:~$ pq_recvbuf: unexpected EOF on client connection So I thought I lost the db but then tried: dharana@triton:~$ psql 4unrealers Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit 4unrealers=3D# select count(fmid) from forums_messages; NOTICE: AttrDefaultFetch: 2 record not found for rel forums_messages count ------- 1761 \d works for others tables in the same db. I've searched Recovery info in postgresql doc but I've found the pages rela= ting Recovering Dbs empty. Also google didn't threw a light about: NOTICE: AttrDefaultFetch:. Sysinfo: Hardware P133MMX + 96Mb RAM 20 Gb IDE Software PostgreSql 7.1.3 (from .deb) running on Debian Woody with kernel 2.4.17. Any Ideas on how to proceed? Thank you in advance. --=20 dharana Black holes are where=20 PGP KeyID: 0xC32A724 GOD is dividing by zero --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8PkzEe5f53cMqckYRArcHAKDH7esrDYmx1pF4HOXY+ihVdFOGsgCg0dVb egngV+Tono29R96iFYW6nQc= =xNrQ -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--