Search Postgresql Archives

Re: libpq (C++) - Insert binary data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 1, 2010 at 3:08 AM, John R Pierce <pierce@xxxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux