From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: libpq (C++) - Insert binary data |
Date: | 2010-10-01 13:06:21 |
Message-ID: | AANLkTimn-1q6=Pzb4PsChnX=QfhCFt-U+XZErZhLJ_r4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Oct 1, 2010 at 3:08 AM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> On 09/30/10 11:58 PM, GOO Creations wrote:
>>
>> thanks for this tip, but as far as I understand it libpqtypes is not part
>> of the original lipq libary .
>> This will result in the same problem as with the Qt libraries, it will add
>> another dependecy to my plugin, which is not allowed.
>
> take the source to libpqtypes, and static link it with your plugin.
yeah -- you would have to enable that via configure. pulling in
libptypes just to pass bytea is probably overkill though considering
it can be done in stock libpq w/o too much effort. To justify it, you
would want to be leveraging some of the other library features
(especially, array/composite passing, for which there is no reasonable
method via stock libpq).
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Andrus | 2010-10-01 13:24:25 | Re: Optimizing postgresql.conf for dedicated windows server 2003 x64 standard edition |
Previous Message | Dave Page | 2010-10-01 12:18:02 | Re: PostgreSQL 9.0 (x86-64) and Windows 7 (x86-64) - Unable to install |