Driver for Gnome/GTK Applications.....
Driver for Gnome/GTK Applications.....
От:
"Landon Blake" <lblake@KSNINC.COM>
Дата:
I have recently moved to a Linux environment from Windows. I know that you can connect to PostgreSQL via JDBC with Java and ODBC with Microsoft programs, but what is the best way to connect to PostgreSQL from an application written to run on Linux? I will most likely be writing the GUI with GTK and Gnome. Any suggestions? Thanks, Landon
Re: Driver for Gnome/GTK Applications.....
От:
David Stanaway <david@stanaway.net>
Дата:
Hi there, libpq is the C client library for postgresql, and it is pretty well documented, well designed and fast. There are some database abstraction libraries also which you can use, including libodbc, libdbi and libgnomedb http://www.unixodbc.org/ http://libdbi.sourceforge.net/ http://www.gnome-db.org/ I haven't used any of these, although the perl dbi interface (Which I think the C libdbi is influenced by) is something I have used, and it is very good. Maybe some other people have some experience with these abstraction libraries and can say which to avoid etc. On Thu, 2005-06-23 at 14:17 -0700, Landon Blake wrote: > I have recently moved to a Linux environment from Windows. I know that you can connect to PostgreSQL via JDBC with Java and ODBC with Microsoft programs, but what is the best way to connect to PostgreSQL from an application written to run on Linux? I will most likely be writing the GUI with GTK and Gnome. Any suggestions? > > Thanks, > > Landon > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > -- David Stanaway
Re: Driver for Gnome/GTK Applications.....
От:
Murray Cumming <murrayc@murrayc.com>
Дата:
On Thu, 2005-06-23 at 14:17 -0700, Landon Blake wrote: > I have recently moved to a Linux environment from Windows. I know that you can connect to PostgreSQL via JDBC with Java and ODBC with Microsoft programs, but what is the best way to connect to PostgreSQL from an application written to run on Linux? I will most likely be writing the GUI with GTK and Gnome. Any suggestions? I think you are looking for libgda, or one of the programming-language- bindings for it. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com