Skip navigation.
 
mlRe: Cocoa Database Connection
FROM : Justin Giboney
DATE : Sat Mar 22 00:50:42 2008

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 
>> () and PostgreSQL Cocoa Framework (<A href="http://sourceforge.net/projects/pgsqlcocoa/">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
>

Related mailsAuthorDate
mlCocoa Database Connection Justin Giboney Mar 21, 23:33
mlRe: Cocoa Database Connection Justin Giboney Mar 22, 00:50
mlRe: Cocoa Database Connection Jason Stephenson Mar 22, 01:34
mlRe: Cocoa Database Connection Jeff LaMarche Mar 22, 01:37
mlRe: Cocoa Database Connection Western Botanicals Mar 24, 20:21
mlRe: Cocoa Database Connection Jeff LaMarche Mar 24, 20:54
mlRe: Cocoa Database Connection Justin Giboney Mar 24, 22:06
mlRe: Cocoa Database Connection Jens Alfke Mar 25, 04:25
mlRe: Cocoa Database Connection Andrew Satori Mar 26, 21:12