[HACKERS] talking to postgresql from C/C++

2003-03-07 Thread terr
---BeginMessage--- I've been trying to get information on a programming interface to the database. Over the last while Dave Page and I have emailed each other. Dave has suggested I join the hacker maillist. Thus I am forwarding the communication I sent to Dave. I hope this is approriated in

Re: [HACKERS] talking to postgresql from C/C++

2003-03-07 Thread Christoph Haller
Have you seen libpq - C Library Functions Associated with the COPY Command This is best way to INSERT large amounts of data. Regards, Christoph ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] talking to postgresql from C/C++

2003-03-07 Thread mlw
I read your post, and I am struck by a few things, I am not sure I will answer all your points, but maybe a discussion is in order. I use PostgreSQL with C++ all the time. I actually have a SQL class that abstracts libpq and ODBC, so I'm pretty much past a lot of the how I want to use it

Re: [HACKERS] talking to postgresql from C/C++

2003-03-07 Thread Merlin Moncure
mlw [mailto:[EMAIL PROTECTED] wrote: I use PostgreSQL with C++ all the time. I actually have a SQL class that abstracts libpq and ODBC, so I'm pretty much past a lot of the how I want to use it stuff. What about libpq++? I have not used the thing, but if he absolutely insists on using C++ in

Re: [HACKERS] talking to postgresql from C/C++

2003-03-07 Thread Jeroen T. Vermeulen
On Fri, Mar 07, 2003 at 12:14:30PM -0500, Merlin Moncure wrote: What about libpq++? I have not used the thing, but if he absolutely insists on using C++ in his database interface that's at least worth checking out. Same for embedded C. And of course there's libpqxx. I haven't heard from