X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 17B76D1B4FB for ; Fri, 31 Oct 2003 21:13:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 79773-04 for ; Fri, 31 Oct 2003 17:13:18 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id A852BD1B4F4 for ; Fri, 31 Oct 2003 17:13:15 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9VLDHX6019799; Fri, 31 Oct 2003 16:13:17 -0500 (EST) To: Rajesh Kumar Mallah Cc: "PGSQL List (E-mail)" Subject: Re: ? in explain query In-reply-to: <3FA49979.3070909@trade-india.com> References: <3FA49979.3070909@trade-india.com> Comments: In-reply-to Rajesh Kumar Mallah message dated "Sun, 02 Nov 2003 00:43:21 -0500" Date: Fri, 31 Oct 2003 16:13:17 -0500 Message-ID: <19798.1067634797@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/423 X-Sequence-Number: 10984 Rajesh Kumar Mallah writes: > In the explain below are the references > "outer"."?column2?" = "inner"."?column2?" > Ok? Yeah, those are variables that don't have any name because they don't correspond exactly to table columns. It looks like the plan is merge-joining (main.id)::text to (groups_1.instance)::text. At the level of the scans it's possible to see the expressions involved, but at the level of the join those are just Var references to the outputs of the lower plan steps. We could possibly alter EXPLAIN to print the referred-to expression instead of faking up a name for the Var node, but this would make the printout look like the expression was being recomputed at the upper level, which it isn't. regards, tom lane