| From: | John DeSoi <desoi(at)pgedit(dot)com> |
|---|---|
| To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
| Cc: | "John R Pierce *EXTERN*" <pierce(at)hogranch(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Raimon Fernandez" <coder(at)montx(dot)com>, <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Implementing Frontend/Backend Protocol TCP/IP |
| Date: | 2009-10-27 12:51:39 |
| Message-ID: | 35DCEEAC-C98D-47A9-8C37-1953CEEB8282@pgedit.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-interfaces |
On Oct 27, 2009, at 4:55 AM, Albe Laurenz wrote:
> That's probably not the problem in the original message, but there
> are things you can do with the frontend/backend protocol that libpq
> does not expose: for example, with the extended query protocol you can
> send a "Bind" call that requests that some of the results should be
> returned in text format, others in binary.
Another protocol feature that I don't think is exposed in libpq is the
ability to limit the maximum number of rows returned by a query. So if
you are executing end user queries, you don't have to worry about
processing a massive result set or somehow parsing the query to add a
limit clause.
John DeSoi, Ph.D.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ChenXun | 2009-10-27 12:56:55 | Re: Is there any ways to pass an array as parameter in libpq? |
| Previous Message | John DeSoi | 2009-10-27 12:40:31 | Re: Implementing Frontend/Backend Protocol TCP/IP |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2009-10-27 13:00:09 | Re: Implementing Frontend/Backend Protocol TCP/IP |
| Previous Message | John DeSoi | 2009-10-27 12:40:31 | Re: Implementing Frontend/Backend Protocol TCP/IP |