Re: Unused system table columns - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Unused system table columns
Date
Msg-id 1026795892.1939.18.camel@rh72.home.ee
Whole thread Raw
In response to Re: Unused system table columns  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 2002-07-16 at 11:44, Tom Lane wrote:
> Hannu Krosing <hannu@tm.ee> writes:
> > The interim solution would be to set typreceive/typsend to  NULL if they
> > are the same as typinput/typoutput in CREATE TYPE.
> 
> Which still puts you right back at square one.  You might as well define
> two new columns that will carry the function names for binary transport.

Ok, but could this be then rename instead of removing the columns - it
will be roughly the same amount of work going through all the places
that touch pg_type. I'd even guess that renaming is _less_ work..

> typsend/typreceive are hopelessly contaminated at this point, IMHO;
> it'll be less work and less confusion to adopt other column names than
> to try to reuse them just "because they're there".

-----------
Hannu




pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: pg_views.definition
Next
From: Curt Sampson
Date:
Subject: Re: [PATCHES] CLUSTER not lose indexes