Re: [HACKERS] Roadmap for FE/BE protocol redesign - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [HACKERS] Roadmap for FE/BE protocol redesign
Date
Msg-id 28363.1047343721@sss.pgh.pa.us
Whole thread Raw
Responses Re: [HACKERS] Roadmap for FE/BE protocol redesign
List pgsql-interfaces
"Dave Page" <dpage@vale-housing.co.uk> writes:
> What about the addition of pg_attribute.attrelid &
> pg_attribute.attname/attnum in RowDesription messages to identify the
> underlying attribute (where appropriate)?

Well, we can talk about it, but I still think that any frontend that
relies on such information is broken by design.  (And if that means the
JDBC spec is broken, then the JDBC spec is broken.)

Just to start with, if I do "SELECT * FROM view", am I going to see the
info associated with the view column, or with the hypothetical
underlying table column?  (Actually, didn't I already make a list of a
bunch of ways in which this concept is underspecified?  AFAIR, you
didn't suggest answers to any of those questions ... but we need answers
to all of them if we are going to implement the feature.)
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Bruce Badger
Date:
Subject: Re: [HACKERS] Roadmap for FE/BE protocol redesign
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Roadmap for FE/BE protocol redesign