From: | Abhijit Menon-Sen <ams(at)oryx(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: libpq and prepared statements progress for 8.0 |
Date: | 2004-10-05 16:59:41 |
Message-ID: | 20041005165941.GA15092@penne.toroid.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
At 2004-09-20 13:24:47 -0400, tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
>
> It depends on whether you think that PQprepare should bundle the
> Describe Statement operation or not.
I decided against bundling the two operations together. Here's a patch
to add PQprepare() and PQsendPrepare() in a fairly self-contained way.
Also attached is a test program à la testlibpq3.c that I used to test
the change. This should be all that's needed for DBD::Pg to prepare a
statement without pre-specifying types.
(I'll post a separate patch for PQdescribe() later. It's a little more
involved, and I need to fix a couple of bugs I found during testing.)
Any thoughts? Does this look good enough for 8.0?
-- ams
Attachment | Content-Type | Size |
---|---|---|
libpq-prepare.diff | text/plain | 3.6 KB |
pqtest.c | text/plain | 1.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | David Wheeler | 2004-10-05 17:31:53 | Re: libpq and prepared statements progress for 8.0 |
Previous Message | Bruce Momjian | 2004-10-05 16:35:15 | Problem with Win32 pg_dump linking and symbols |
From | Date | Subject | |
---|---|---|---|
Next Message | David Wheeler | 2004-10-05 17:31:53 | Re: libpq and prepared statements progress for 8.0 |
Previous Message | Neil Conway | 2004-10-05 00:32:00 | Re: Quieting the copyright/startup message... |