Re: [gnome-db] Little API problems
- From: Murray Cumming <murrayc murrayc com>
- To: vmalerba gmail com
- Cc: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Little API problems
- Date: Wed, 14 Sep 2005 18:22:53 +0200
On Wed, 2005-09-14 at 17:00 +0200, Vivien Malerba wrote:
> 2005/9/13, Murray Cumming <murrayc murrayc com>:
> > CCing the list because I think you forgot to.
> > Another thing:
> > The documentation for gda_client_create_database() mentions
> > gda_client_get_specs_to_create_database(). There is no such function,
> > though the name is used in the documentation for
> > gda_client_get_provider_specs(). I guess it's meant to provide the
> > GdaParameterList* somehow, but it returns a char*. Example code in the
> > documentation would help a lot here.
> > gda_client_drop_database() seems to have the same problem.
> I've corrected the documentation (not yet in CVS though). Here is how
> it works: if you want to create a database, call
> gda_client_get_provider_specs(client, provider,
> which will give you an XML string which can be converted into a tree
> by libxml and tells you which information the provider needs to create
> tha database. For example, have a look at the
> providers/postgres/postgres_specs_create_db.xml and the
> providers/mysql/mysql_specs_create_db.xml files which are the returned
> strings for the Postgres and MySQL providers.
Thanks, but isn't that an incredibly complicated way to create a
murrayc murrayc com
] [Thread Prev