Re: [HACKERS] interesting observatation regarding views and V7.0 - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] interesting observatation regarding views and V7.0
Date
Msg-id 38BA99A3.5AF903B3@alumni.caltech.edu
Whole thread Raw
In response to interesting observatation regarding views and V7.0  (Don Baccus <dhogaza@pacifier.com>)
Responses Re: [HACKERS] interesting observatation regarding views and V7.0  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Yes, this is exactly the concern I raised last week.  Thomas didn't
> seem to be very worried about the issue, but when he gets back from
> his vacation we can lean on him to fix it.

OK Tom I'll try to sound more concerned next time :))

I'm using the rte->ref Attr structure to carry internal info on table
names and column names. What I should be able to do is decouple the
internal ref structure from the table name/column list specified by a
user, so the "query recreation" code can ignore the internal structure
and just use the original list from the user.

Should be able to go into v7.0 with no problem (other than initdb, but
it *is* a beta!!).

> Something else we might consider as a stopgap is to resurrect the
> "compressed text" datatype that Jan wrote, and then removed in
> anticipation of having TOAST.  Jan was concerned about creating
> future compatibility problems by having a datatype with only a
> one-release-cycle expected lifetime ... but I think it might be
> OK to use it just internally for rules.

Naw, the above should be easier all around.
                  - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] Re: ALTER TABLE DROP COLUMN
Next
From: Jose Soares
Date:
Subject: Re: [HACKERS] having and union in v7beta