Re: [gnome-db] Little API problems
- From: Diego Zuccato <diego otello alma unibo it>
- To: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Little API problems
- Date: Thu, 15 Sep 2005 10:19:03 +0200
Vivien Malerba ha scritto:
Well for example the SQLite provider only needs a file name to create
a database, whereas postgres needs many parameters, and no file name,
so there is really no common parameter between all the providers to
create databases.
Why not always an URI string like in ODBC?
So PG could use "postgres:host=localhost;dbname=goofy", while SQlite
could simply be "sqlite:/home/goofy/goofy.db".
gda_client_get_provider_specs could return a list of options accepted by
the provider as key,value.
Just mu .02 :)
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]