Volkan YAZICI <[EMAIL PROTECTED]> writes:
> I've prepared a new patch that adds below commands to the libpq:

>   /* Accessor functions for PGresParamDesc field of PGresult. */
>   int PQnparams(const PGresult *res)
>   int PQparamType(const PGresult *res, int param_num)

>   /* Async functions. */
>   int PQsendDescribePrepared(PGconn *conn, const char *stmt)
>   int PQsendDescribePortal(PGconn *conn, const char *portal)

>   /* Synchronous ones. */
>   PGresult *PQdescribePrepared(PGconn *conn, const char *stmt)
>   PGresult *PQdescribePortal(PGconn *conn, const char *portal)

Applied with some small revisions to make it fit in better with the
existing libpq code (I don't think it desirable to have
copied-and-pasted versions of PQsendQueryStart, for instance).
I added some documentation also.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to