Re: quick question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: quick question
Date: 2003-02-26 06:39:44
Message-ID: 27560.1046241584@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Were the pgattribute.attstorage and pg_type.typstorage fields available in
> 7.1?

Yes, but typstorage did not appear in 7.0, which you're also supposed to
think about if you're hacking pg_dump. (AFAICT attstorage was always
'p' in 7.0.)

> Also, if they existed in 7.2, but the ALTER TABLE/SET STORAGE command didn't
> exist, should I still dump it if they are dumping a 7.2 database?

Sure. Dump something if attstorage != typstorage of relevant pg_type
entry. Version needn't enter into it, I think.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-02-26 06:47:33 CHECK constraints in pg_dump
Previous Message PRAGATI SAVAIKAR 2003-02-26 06:26:48 Index File growing big.