On 1-Jun-09, at 6:33 PM, Markus Hoenicka wrote:

> Quoting Toby Thain <t...@telegraphics.com.au>:
>
>> The Ingres driver has the same 'issue', system tables are returned by
>> default. I tend to think that no tables should be suppressed from the
>> result by default when using *this* libdbi function. I think more
>> input from actual use cases would be needed to see whether anything
>> needs to be done.
>>
>
> libdbi is an "abstraction layer", literally, and I tend to think that
> it should abstract away implementation-specific stuff like system
> tables by default. This doesn't mean we should make it impossible for
> users to get at these tables. Nor should we break
> backwards-compatibility in case some programs rely on the current
> behaviour.
>
> What about providing an additional function called something like
> dbi_conn_get_user_table_list() which returns only non-system tables,

That is roughly what I was thinking - though it could go either way,  
couldn't it, since the description of the original function probably  
didn't say "only user tables and no others"? I checked and the Ingres  
driver dbd_list_tables() does filter out system tables (table_name  
NOT LIKE 'ii%'). Maybe that should be revisited.

--Toby

> i.e. those usually created by the user or some piece of software? This
> would allow software linked against libdbi to not be pestered by
> implementation-specific system tables and such, if this behaviour is
> desired.
>
> regards,
> Markus
>
> -- 
> Markus Hoenicka
> markus.hoeni...@cats.de
> (Spam-protected email: replace the quadrupeds with "mhoenicka")
> http://www.mhoenicka.de
>
>
>
> ---------------------------------------------------------------------- 
> --------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the  
> latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Libdbi-drivers-devel mailing list
> Libdbi-drivers-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to