send Describe Portal message in PQsendPrepare - Mailing list pgsql-hackers

From Manlio Perillo
Subject send Describe Portal message in PQsendPrepare
Date
Msg-id 51194FC2.5060800@gmail.com
Whole thread Raw
Responses Re: send Describe Portal message in PQsendPrepare  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

What is the reason why PQsendPrepare function does not send a
Describe Portal message?

Just as a proof of concept, I wrote a very simple patch, attached, and
it *seems* to work.

Sending a Describe Portal message, make it possible for PQsendPrepare
function to *return* a PGresult with more useful informations, instead
of just the result status.



Thanks   Manlio Perillo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEZT8IACgkQscQJ24LbaUT0VwCcCGKGD6CYrb53B/z+1SdB8vX5
cWkAnjOkSxCVFRo32qzIegY1UhddxBcI
=D+Qj
-----END PGP SIGNATURE-----

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: performance regression in 9.2 CTE with SRF function
Next
From: Kevin Grittner
Date:
Subject: parser_analyze freeing memory which is later referenced