Re: records zapped to null

From: Stephen Davies <scldad(at)sdc(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Davies <scldad(at)sdc(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: records zapped to null
Date: 2001-03-27 05:32:57
Message-ID: 200103270532.PAA29638@mustang.sdc.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, that is what I mean: every column in the affected rows had been
changed to null;

The description is:

Table "request"
Attribute | Type | Modifier
-------------+----------+----------------------------------------
id | integer | default nextval('reqid'::text)
agency_id | integer |
opportunity | text |
start_date | date |
end_date | date |
focus | text |
slots | smallint |
filled | smallint |
referred | smallint |
date_recd | date | default date("timestamp"('now'::text))
task | text |
uflg | boolean | default 'f'
Indices: redtx,
reqkey,
rfocx,
rmemx,
rsdtx,
tskx

On Tue, 27 Mar 2001 00:09:46 -0500, Tom Lane said:
> Stephen Davies <scldad(at)sdc(dot)com(dot)au> writes:
> > I have just had to restore a database from backup because the majority
> > of records in one table had "magically" become null.
>
> There's no such thing as a null record in Postgres. What do you mean
> exactly: were the records still present but their fields all read as
> nulls?
>
> What is the declaration of the table?
>
> regards, tom lane

========================================================================
Stephen Davies Consulting scldad(at)sdc(dot)com(dot)au
Adelaide, South Australia. Voice: 08-8177 1595
Computing & Network solutions. Fax: 08-8177 0133

Responses

Browse pgsql-general by date

  From Date Subject
Next Message will trillich 2001-03-27 06:15:17 Re: Determine Time in other Time Zone
Previous Message Ian Lance Taylor 2001-03-27 05:18:43 Re: MIPS test-and-set