Re: libpq Describe Extension [WAS: Bytea and perl]
| От | Tom Lane |
|---|---|
| Тема | Re: libpq Describe Extension [WAS: Bytea and perl] |
| Дата | |
| Msg-id | 24329.1155930891@sss.pgh.pa.us обсуждение |
| Ответ на | Re: libpq Describe Extension [WAS: Bytea and perl] (Volkan YAZICI <yazicivo@ttnet.net.tr>) |
| Список | pgsql-hackers |
Volkan YAZICI <yazicivo@ttnet.net.tr> 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
В списке pgsql-hackers по дате отправления: