Re: Cocoa Database Connection
Re: Cocoa Database Connection
- Subject: Re: Cocoa Database Connection
- From: Justin Giboney <email@hidden>
- Date: Fri, 21 Mar 2008 17:50:42 -0600
So, libpq sounds like a well supported way to go, but when I import
"libpq-fe.h" into my project I get an error that says "postgres_ext.h:
No such file or directory", along with 30 more errors which I assume
are related to the lack of this file. I searched my computer for it
and I can't find it.
Is there something that I should have installed besides PostgreSQL
8.3.0? I have seen something about doxygen, but I don't know what that
is. Do I need it?
Thank you,
Justin Giboney
On Mar 21, 2008, at 4:43 PM, A.M. wrote:
On Mar 21, 2008, at 6:33 PM, Justin Giboney wrote:
I am trying to find a way to connect Cocoa to a DBMS.
I have been working for a few weeks trying to find a way to get
Cocoa to communicate with PostgreSQL (at this point I am willing to
use just about any mainstream database). I have tried using BaseTen
(http://www.karppinen.fi/baseten/) and PostgreSQL Cocoa Framework (http://sourceforge.net/projects/pgsqlcocoa/
), but I have not been able to get either of them to work. Both
seem to be very complicated and need a lot of tweaking.
I have heard hints of odbc/iodbc but no tutorials on how to use it
in cocoa.
I have PostgreSQL 8.3 installed, running 10.5 on the host that will
talk to the DB, and multiple client computers running 10.4 or 10.5
What would you use to create an enterprise level application?
Is there any tutorials that you would use to create the connections
to the database?
You can certainly use the straight-C libpq- it works fine.
http://www.postgresql.org/docs/8.3/static/libpq.html
Cheers,
M
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden