pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: 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: Wed, 20 Jun 2007 23:47:48 +0900
Message-ID: <46793E14.6070200@tpf.co.jp> (raw)
In-Reply-To: <1181900413.6856.10.camel@mca-desktop>
References: <1180628545.15060.26.camel@mca-desktop>
	<1181232821.12462.10.camel@mca-desktop>
	<1181900413.6856.10.camel@mca-desktop>

Sorry for the late reply.

Mark Cave-Ayland wrote:
> On Thu, 2007-06-07 at 17:13 +0100, Mark Cave-Ayland wrote:
>> Hi everyone,
>>
>> I've just completed the patch for only listing tables accessible by the
>> current user for psqlodbc as detailed in my email here:
>> http://archives.postgresql.org/pgsql-odbc/2007-05/msg00068.php. As
>> suggested in the original post, I have implemented a tick box called
>> "Only list user-accessible tables" on page 2 of the Datasource Advanced
>> Options dialog.

Recently added boolean options are defined as some bits in Extra Opts.
Is it OK to define the option as a bit in Extra Opts ?

>> When this box is ticked, only tables on which the user
>> has one of SELECT, INSERT, DELETE or UPDATE privileges will appear in
>> the table list for the given DSN.

Isn't it sufficient to chack SELECT privilege only ?

>> I think that this would be a really useful feature to add to the
>> psqlodbc driver, and so I have attached a diff from CVS HEAD. As far as
>> I know, the only part I have missed is adding the tickbox and its
>> corresponding translation to the Japanese version of the dialog in
>> psqlodbc.rc. Please let me know if there is any more work I need to do
>> in order to get this applied.

regards,
Hiroshi Inoue



view thread (16+ messages)  latest in thread

Message-ID: <46793E14.6070200@tpf.co.jp>
Permalink:  ../46793E14.6070200@tpf.co.jp/
Also on:    postgresql.org/message-id/46793E14.6070200@tpf.co.jp

 · 

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: 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: <46793E14.6070200@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>

* 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