pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@postgresql.org>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Proposal for new pgsqlODBC feature -	hiding	tables	inaccessible to the current user
Date: Fri, 29 Jun 2007 08:37:51 +0100
Message-ID: <4684B6CF.1050603@postgresql.org> (raw)
In-Reply-To: <468452D1.3000009@tpf.co.jp>
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>
	<468452D1.3000009@tpf.co.jp>

Hiroshi Inoue wrote:
> 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.
> 
> Hmm the apps list the tables using SQLTables() ?

I don't recall (and I don't have access to them any more to check), but
as we've had the current behaviour for the last 10 years or so, and
no-one has really complained until now, I don't think we should risk
changing the default - at least without checking for SELECT, UPDATE,
INSERT or DELETE rather than just SELECT.

Regards, Dave



view thread (16+ messages)  latest in thread

Message-ID: <4684B6CF.1050603@postgresql.org>
Permalink:  ../4684B6CF.1050603@postgresql.org/
Also on:    postgresql.org/message-id/4684B6CF.1050603@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dpage@postgresql.org, inoue@tpf.co.jp, mark.cave-ayland@ilande.co.uk
  Subject: Re: Proposal for new pgsqlODBC feature -	hiding	tables	inaccessible to the current user
  In-Reply-To: <4684B6CF.1050603@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> <468452D1.3000009@tpf.co.jp> <4684B6CF.1050603@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox