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 C031547630E for ; Tue, 11 Mar 2003 10:06:03 -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 h2BF67ub004978; Tue, 11 Mar 2003 10:06:08 -0500 (EST) To: "Dave Page" Cc: pgman@candle.pha.pa.us, pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: Roadmap for FE/BE protocol redesign In-reply-to: <50149.80.177.99.193.1047375273.squirrel@ssl.vale-housing.co.uk> References: <1942.1047350265@sss.pgh.pa.us> <200303110244.h2B2i1j15763@candle.pha.pa.us> <50149.80.177.99.193.1047375273.squirrel@ssl.vale-housing.co.uk> Comments: In-reply-to "Dave Page" message dated "Tue, 11 Mar 2003 09:34:33 +0000" Date: Tue, 11 Mar 2003 10:06:07 -0500 Message-ID: <4977.1047395167@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/424 X-Sequence-Number: 36670 "Dave Page" writes: > Well, what would constitute a complete spec? I think I've told the group > what I would like to be able to do, what unanswered questions can I > (hopefully :-) ) answer? I'm still unclear on exactly what your needs are. In the first place, are you expecting to obtain data from arbitrary SELECT statements, or only from statements of the form "SELECT * FROM single_table"? You've also been confusing as to whether you want transparency of views (ie, does a select from a view return data about the view's nominal columns or about the underlying base table columns?). What about cases involving aggregates or grouping --- there may be simple Vars in the target list, but they can hardly be thought to represent updatable values. Also, you muttered something about inferring primary keys and number of relations in query; seems like this feature isn't solving your problem as far as that goes, because the set of attributes visible in the target list isn't much help for either. regards, tom lane