Skip site navigation (1) Skip section navigation (2)

How can I find a broken row in a table

From: Khangelani Gama <Khangelani(dot)Gama(at)ucs-software(dot)co(dot)za>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: How can I find a broken row in a table
Date: 2010-04-16 08:22:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Please help me, I am using PostgreSQL 7.3.4 running on Redhat5

there is a table that has a broken row, but now I don't know which one is broken. the table has about 20974 pages. is there a command to find this? because I used select commands like: select * from table order by column desc limit X ; select * from table order by column asc limit X; but as soon as I say select * from table; it throws out an error, saying can't read block.

Thanks in advance


Confidentiality Notice:

The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential information of UCS Group and/or its subsidiaries. Any review, use or dissemination thereof by anyone other than the intended addressee is prohibited. If you are not the intended addressee please notify the writer immediately and destroy the e-mail. UCS Group Limited and its subsidiaries distance themselves from and accept no liability for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.


pgsql-admin by date

Next:From: Alexandre LeclercDate: 2010-04-16 13:18:20
Subject: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
Previous:From: Martin M√ľnstermannDate: 2010-04-16 07:34:17
Subject: Re: PostgreSQL with SSL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group