Re: new gda component



Rodrigo Moya wrote:
> 
> Hi all!
> 
> I've thought of another config component we can have. If you use
> unixODBC (http://www.unixodbc.org), you'll see that, in the Driver
> Manager (where you configure the data sources), you are first prompted
> for a driver, and then, it loads a list of property names from the
> chosen driver. This list defines all the parameters the driver needs to
> configure a data source.
> 
> So, a gda-postgres-dsn (and gda-odbc-dsn, etc) can be added acting like
> this. This component should be able to build the DSN string which goes
> to the gdalib config file. This could be retrieved by the app using the
> component through a property.
> 
> This will avoid the user having to type the DSN string, which is
> different for every provider.
> 
> So, is it a good idea?

Yes. One of the first problems to start using gnome-db is how to write
a DSN. The first time I use gnome-db I lost time because I don't know
the format of this DSN, which is very different in each provider.

> 
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]