on 3/31/08 1:44 PM, [EMAIL PROTECTED] purportedly said: > PQprepare *statement = PQPrepare(theConnection, "stmtname", "SELECT * > FROM admin WHERE id = %s", 1, [theUUID]);
Yes--it not even close. The libpq prototype is: PGresult *PQprepare(PGconn *conn, const char *stmtName, const char *query, int nParams, const Oid *paramTypes); It also looks like you are confusing regular C with Objective-C (syntactically). Libpq is a C library, so constructs such as PGresult are pointers, *not* objects. If you don't know C very well, you really should brush up on it. It will also help your Cocoa, since Objective-C is a superset of C. Best, Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business" _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]