Modern C++ Interface

Lists: pgsql-patches
From: Peter Jones <pjones(at)pmade(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Modern C++ Interface
Date: 2003-04-09 18:15:46
Message-ID: 20030409181546.GY89616@pmade.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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


From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Peter Jones <pjones(at)pmade(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Modern C++ Interface
Date: 2003-04-11 17:27:36
Message-ID: 20030411182736.G23389@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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


From: Peter Jones <pjones(at)pmade(dot)org>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Modern C++ Interface
Date: 2003-04-11 17:52:50
Message-ID: 20030411175250.GH36907@pmade.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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


From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Peter Jones" <pjones(at)pmade(dot)org>, "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Modern C++ Interface
Date: 2003-04-14 01:50:42
Message-ID: 010901c30228$424d3790$6500a8c0@fhp.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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(at)pmade(dot)org>
To: "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: <pgsql-patches(at)postgresql(dot)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
>