2005/9/15, Diego Zuccato <[EMAIL PROTECTED]>:
> 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.
> 

The contents of the URI string would still need to be specified at one
point. This is what the XML file provided by
gda_client_get_provider_specs() does, except that the XML file
specifies more information and can be parsed at runtime.

Cheers,

Vivien
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to