PQmakeResult patch - Mailing list pgsql-patches

From Merlin Moncure
Subject PQmakeResult patch
Date
Msg-id b42b73150804150732s42d2c1e1i167aec07e2f3522a@mail.gmail.com
Whole thread Raw
List 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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Terminating a backend
Next
From: Bruce Momjian
Date:
Subject: Re: lc_time and localized dates