Received: from cltexch1.lendingtree.com (cltexch1.lendingtree.net [207.238.49.106]) by hub.org (8.10.1/8.10.1) with ESMTP id e95DNA729163 for ; Thu, 5 Oct 2000 09:23:10 -0400 (EDT) Received: by CLTEXCH1 with Internet Mail Service (5.5.2650.21) id ; Thu, 5 Oct 2000 09:23:05 -0400 Message-ID: <69F195289743D411B428009027E293C401290E26@CLTEXCH1> From: "Clark, Joel" To: "'Randy Jonasz'" Cc: pgsql-interfaces@postgresql.org Subject: RE: Re: FW: New PostgreSQL Project Date: Thu, 5 Oct 2000 09:23:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200010/16 > this is great! Should we take the next few weeks in > preparing what we'd > like to see in a C++ API? Plus I need a little time to become more > familiar with current code base. As a note I was wondering > what would be > the advantages/disadvantages of *not* using the c interface > but writing > the connection/parse routines directly in the C++ classes? > i.e. get away > from having just wrapper classes. On the plus side, I think > we gain in > flexibility in design and implementation. On the negative > side, we may be > re-inventing the wheel, although I am partial to proceeding > in a complete > rewrite. The only reason I would be hesitant to write our own parsing/network routines is that changes to the PG protocol would have to be duplicated in our code. If we wrap libpq, it will be version independent (as long as the libpq interface doesn't change). Plus the fact that we would be re-writing code that is already quite stable (and useful, for that matter). Joel