pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: james <spare1@cqm.co.uk>
To: pgsql-admin@postgresql.org
Subject: Broken Tables?
Date: Wed, 13 Jun 2001 18:26:56 +0100
Message-ID: <000d01c0f42e$0d23d920$659999c0@colloquium.co.uk> (raw)

Hi, I'm working on a disaster recovery.......



When I do a
psql> SELECT * from tablename;

I get the full table back, but when I do a

psql> SELECT * from tablename WHERE column_name ='variable';

it returns empty rows even though I know for a fact and have checked using the select * query that rows should exist and have the variable in the correct column!!!

I could do a select *, grab all the data then drop the table then create the same table again and feed in the data, but I wonder if there is a better way???

Cheers...

James

view thread (2+ messages)  latest in thread

Message-ID: <000d01c0f42e$0d23d920$659999c0@colloquium.co.uk>
Permalink:  ../000d01c0f42e$0d23d920$659999c0@colloquium.co.uk/
Also on:    postgresql.org/message-id/000d01c0f42e$0d23d920$659999c0@colloquium.co.uk

 · 

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 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-admin@postgresql.org
  Cc: spare1@cqm.co.uk
  Subject: Re: Broken Tables?
  In-Reply-To: <000d01c0f42e$0d23d920$659999c0@colloquium.co.uk>
  References: <000d01c0f42e$0d23d920$659999c0@colloquium.co.uk>

* 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