Re: hiding variable-length fields from Form_pg_* structs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: hiding variable-length fields from Form_pg_* structs
Date
Msg-id 1326134855.12723.8.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: hiding variable-length fields from Form_pg_* structs  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: hiding variable-length fields from Form_pg_* structs
List pgsql-hackers
So here is a patch for that.

There are a few cases that break when hiding all variable length fields:

Access to indclass in relcache.c, as discussed upthread, which should be
fixed.

Access to pg_largeobject.data.  This is apparently OK, per comment in
inv_api.c.

Access to pg_proc.proargtypes in various places.  This is clearly
useful, so we'll keep it visible.

So I think the relcache.c thing should be fixed and then this might be
good to go.

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Why is CF 2011-11 still listed as "In Progress"?
Next
From: Tom Lane
Date:
Subject: Re: hiding variable-length fields from Form_pg_* structs