Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 03FD81337B66 for ; Wed, 22 Sep 2010 10:59:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 02438-05 for ; Wed, 22 Sep 2010 13:59:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C9D861337B63 for ; Wed, 22 Sep 2010 10:59:22 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o8MDxKLq024105; Wed, 22 Sep 2010 09:59:20 -0400 (EDT) To: Peter Eisentraut cc: saera87@hotmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #5662: Incomplete view In-reply-to: <1285160940.15691.46.camel@vanquo.pezone.net> References: <201009190941.o8J9fT6H048689@wwwmaster.postgresql.org> <1284918458.20510.0.camel@vanquo.pezone.net> <6630.1284920898@sss.pgh.pa.us> <1285160940.15691.46.camel@vanquo.pezone.net> Comments: In-reply-to Peter Eisentraut message dated "Wed, 22 Sep 2010 16:09:00 +0300" Date: Wed, 22 Sep 2010 09:59:20 -0400 Message-ID: <24104.1285163960@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/193 X-Sequence-Number: 28157 Peter Eisentraut writes: > On sön, 2010-09-19 at 14:28 -0400, Tom Lane wrote: >> which would do an appropriate permissions check and then fetch the >> named column. (This could actually be implemented in a line or two in >> plpgsql, but I think we want it in C because information_schema >> shouldn't depend on plpgsql.) > Why shouldn't it? Because plpgsql is removable (and I don't think that property is negotiable). regards, tom lane