Re: [NOVICE] LibPQ, C, BLOB or BYTEA - Mailing list pgsql-novice

From Merlin Moncure
Subject Re: [NOVICE] LibPQ, C, BLOB or BYTEA
Date
Msg-id CAHyXU0yfJhODMHT59WCA1iGFDfT56VNE5MTSSiu46=vucgHx8g@mail.gmail.com
Whole thread Raw
In response to [NOVICE] LibPQ, C, BLOB or BYTEA  (Ruslan R. Laishev <zator@yandex.ru>)
Responses Re: [NOVICE] LibPQ, C, BLOB or BYTEA  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [NOVICE] LibPQ, C, BLOB or BYTEA  (Ruslan R. Laishev <zator@yandex.ru>)
List pgsql-novice
On Mon, Oct 23, 2017 at 7:00 AM, Ruslan R. Laishev <zator@yandex.ru> wrote:
> Hi All!
>
> Is there a way to pass BYTEA values w/o formating to escape/hex binary ASCII
> strings from C to plpqsql stored function ?

From a C client application?  Yes, you need to use the binary wire format.

merlin


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

pgsql-novice by date:

Previous
From: Ruslan R. Laishev
Date:
Subject: [NOVICE] LibPQ, C, BLOB or BYTEA
Next
From: Tom Lane
Date:
Subject: Re: [NOVICE] LibPQ, C, BLOB or BYTEA