Thread: Modern C++ Interface
Hello all. I have written a modern C++ interface for postgresql and wanted to talk about donating it to the project. By "modern C++" I mean an interfaces that makes use of modern C++ techniques such as exceptions and iterators. This C++ code provides a nice API wrapper for libpq. I have not released to code to the public yet, but I have used it in a few of my applications. Right now the code is tagged with a BSD license and is available though my anonymous CVS server. The cvs web interface: http://pmade.org/cvs/viewcvs.cgi/pgee/ Shortcut to headers: http://pmade.org/cvs/viewcvs.cgi/pgee/include/pgee/ I would be willing to maintain this code as a separate project, but I think it would better serve the community if it was part of postgres. -- Peter Jones <unix;c++;crypto;xml;vi;4wd;geek> [ http://pmade.org ] PGP Fingerprint: 0A2B F8AB 63CF F7A2 556F F892 5B43 7370 A4B6 E0DF
Just as a knee jerk reply: How is your interface different to libpqxx ? (available on gborg) Cheers, Patrick On Wed, Apr 09, 2003 at 11:15:46AM -0700, Peter Jones wrote: > Hello all. I have written a modern C++ interface for postgresql and > wanted to talk about donating it to the project. By "modern C++" I mean > an interfaces that makes use of modern C++ techniques such as exceptions > and iterators. > > This C++ code provides a nice API wrapper for libpq. I have not released > to code to the public yet, but I have used it in a few of my > applications. Right now the code is tagged with a BSD license and is > available though my anonymous CVS server. > > The cvs web interface: > http://pmade.org/cvs/viewcvs.cgi/pgee/ > > Shortcut to headers: > http://pmade.org/cvs/viewcvs.cgi/pgee/include/pgee/ > > I would be willing to maintain this code as a separate project, but I > think it would better serve the community if it was part of postgres. > > -- > Peter Jones <unix;c++;crypto;xml;vi;4wd;geek> [ http://pmade.org ] > PGP Fingerprint: 0A2B F8AB 63CF F7A2 556F F892 5B43 7370 A4B6 E0DF > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org
Hey, remember back when Patrick Welche said: > Just as a knee jerk reply: How is your interface different to libpqxx ? > (available on gborg) Well, I feel pretty stupid. I had no idea that this was being developed. The libpqxx project has the same goals as Pgee, and is much further along in development. Pgee does seem to be a lot less "cluttered", but I don't see any reason why PostgreSQL should ship with Pgee over libpqxx. Please forgive my interruption on this list, and keep up the good work! -- Peter Jones <unix;c++;crypto;xml;vi;4wd;geek> [ http://pmade.org ] PGP Fingerprint: 0A2B F8AB 63CF F7A2 556F F892 5B43 7370 A4B6 E0DF
Hi Peter, Feel free to create a new project on gborg.postgresql.org and add your project anyway! Or maybe you could contribute some of your ideas to libpqxx...? Chris ----- Original Message ----- From: "Peter Jones" <pjones@pmade.org> To: "Patrick Welche" <prlw1@newn.cam.ac.uk> Cc: <pgsql-patches@postgresql.org> Sent: Saturday, April 12, 2003 1:52 AM Subject: Re: [PATCHES] Modern C++ Interface > Hey, remember back when Patrick Welche said: > > Just as a knee jerk reply: How is your interface different to libpqxx ? > > (available on gborg) > > Well, I feel pretty stupid. I had no idea that this was being developed. > The libpqxx project has the same goals as Pgee, and is much further > along in development. > > Pgee does seem to be a lot less "cluttered", but I don't see any reason > why PostgreSQL should ship with Pgee over libpqxx. > > Please forgive my interruption on this list, and keep up the good work! > > -- > Peter Jones <unix;c++;crypto;xml;vi;4wd;geek> [ http://pmade.org ] > PGP Fingerprint: 0A2B F8AB 63CF F7A2 556F F892 5B43 7370 A4B6 E0DF > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >