X-Original-To: pgsql-hackers@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 5D6AE47592C; Mon, 10 Mar 2003 19:48:39 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2B0mgub028364; Mon, 10 Mar 2003 19:48:42 -0500 (EST) To: "Dave Page" Cc: pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: Roadmap for FE/BE protocol redesign In-reply-to: <03AF4E498C591348A42FC93DEA9661B8259D66@mail.vale-housing.co.uk> References: <03AF4E498C591348A42FC93DEA9661B8259D66@mail.vale-housing.co.uk> Comments: In-reply-to "Dave Page" message dated "Tue, 11 Mar 2003 00:12:19 +0000" Date: Mon, 10 Mar 2003 19:48:41 -0500 Message-ID: <28363.1047343721@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/401 X-Sequence-Number: 36647 "Dave Page" 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