Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 083C29FB766; Thu, 28 Jun 2007 14:16:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 02973-10; Thu, 28 Jun 2007 14:16:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from p15195424.pureserver.info (p15195424.pureserver.info [82.165.34.74]) by postgresql.org (Postfix) with ESMTP id 32DCF9FB711; Thu, 28 Jun 2007 14:16:10 -0300 (ADT) Received: from dsl-217-155-86-70.zen.co.uk ([217.155.86.70] helo=[192.168.0.2]) by p15195424.pureserver.info with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.43) id 1I3xb9-0006dx-N5; Thu, 28 Jun 2007 18:16:07 +0100 From: Mark Cave-Ayland To: Dave Page Cc: Hiroshi Inoue , pgsql-odbc@postgresql.org In-Reply-To: <4683D9A3.7010307@postgresql.org> References: <1180628545.15060.26.camel@mca-desktop> <1181232821.12462.10.camel@mca-desktop> <1181900413.6856.10.camel@mca-desktop> <46793E14.6070200@tpf.co.jp> <1182500984.6261.14.camel@mca-desktop> <4681A8CC.1020706@tpf.co.jp> <1182979359.13690.15.camel@mca-desktop> <4683D43A.3040103@tpf.co.jp> <4683D9A3.7010307@postgresql.org> Date: Thu, 28 Jun 2007 18:16:02 +0100 Message-Id: <1183050962.5694.4.camel@mca-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 X-SA-Exim-Connect-IP: 217.155.86.70 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: Re: Proposal for new pgsqlODBC feature - hiding tables inaccessible to the current user Content-Type: text/plain Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.1 (built Wed, 05 Jan 2005 10:54:05 -0500) X-SA-Exim-Scanned: Yes (on p15195424.pureserver.info) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/61 X-Sequence-Number: 9050 On Thu, 2007-06-28 at 16:54 +0100, Dave Page wrote: > Hiroshi Inoue wrote: > > Mark Cave-Ayland wrote: > >> On Wed, 2007-06-27 at 09:01 +0900, Hiroshi Inoue wrote: > >> > >>> How about changing the default behavior of SQLTables to list only > >>> SELECTable tables and add a bit to Extra Opts to list inaccessible > >>> tables also ? > >> I think this would risk breaking a lot of existing applications. > > > > Really ? > > I can hardly imagine the applications which would update/delete > > the rows whose contents couldn't be seen. > > insert-only audit tables? > > Yes, they should really be handled by server-side triggers, but I know > of at least a couple of apps running on PostgreSQL with psqlODBC that do > it client side. > > Regards, Dave Hi guys, The use-case I was thinking of was SQL builder tools that allow you to choose table names from the SQLTables list - even if you don't want to perform a SELECT, you may still want to be able to include the table in your query for an INSERT, UPDATE or DELETE. Where does that leave the status of the patch? Is there any way at all of getting the feature included with a GUI tickbox to select/deselect it, or would the patch be rejected regardless? Kind regards, Mark.