Re: LibPQ, C, BLOB or BYTEA

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: "Ruslan R(dot) Laishev" <zator(at)yandex(dot)ru>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: LibPQ, C, BLOB or BYTEA
Date: 2017-10-23 13:20:20
Message-ID: CAHyXU0yfJhODMHT59WCA1iGFDfT56VNE5MTSSiu46=vucgHx8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Oct 23, 2017 at 7:00 AM, Ruslan R. Laishev <zator(at)yandex(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2017-10-23 14:03:38 Re: LibPQ, C, BLOB or BYTEA
Previous Message Ruslan R. Laishev 2017-10-23 12:00:06 LibPQ, C, BLOB or BYTEA