Re: [gnome-db] Little API problems



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]