From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | PQmakeResult patch |
Date: | 2008-04-15 14:32:14 |
Message-ID: | b42b73150804150732s42d2c1e1i167aec07e2f3522a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Here is a patch to add a few functions to libpq:
PQmakeResult: creates a new result with attributes but no rows
PQsetValue: set a field inside a result, creating a row if necessary
(but only one at a time)
PQresultAlloc (basically public wrapper to existing internal function).
also, the attribute structure (but not the result) is moved to the
public header.
We thought these functions, particularly PQsetValue, are something
positive that came out of the libpqtypes dicussions.
merlin
Attachment | Content-Type | Size |
---|---|---|
make_result.patch | text/x-diff | 9.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2008-04-15 14:51:41 | Re: [PATCHES] Avahi support for Postgresql |
Previous Message | Bruce Momjian | 2008-04-15 13:53:32 | Re: Terminating a backend |