pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dominique Devienne <ddevienne@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: libpq: COPY FROM STDIN BINARY of arrays
Date: Thu, 30 Mar 2023 12:00:46 -0400
Message-ID: <189339.1680192046@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFCRh-_piMcfUA=kty4a4N7jJiARBmi9F5uS_FfJ8=pwc-fgMw@mail.gmail.com>
References: <CAFCRh-_piMcfUA=kty4a4N7jJiARBmi9F5uS_FfJ8=pwc-fgMw@mail.gmail.com>

Dominique Devienne <ddevienne@gmail.com> writes:
> Does the wire-format of arrays differ between binary-binds and binary-copy?

No.

> Any pointers to what I could look at, to resolve this? doc? code? example?

array_send and array_recv might help you.  Keep in mind that maybe the
problem is with array element(s) not the array structure proper.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <189339.1680192046@sss.pgh.pa.us>
Permalink:  ../189339.1680192046@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/189339.1680192046@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ddevienne@gmail.com
  Subject: Re: libpq: COPY FROM STDIN BINARY of arrays
  In-Reply-To: <189339.1680192046@sss.pgh.pa.us>
  References: <CAFCRh-_piMcfUA=kty4a4N7jJiARBmi9F5uS_FfJ8=pwc-fgMw@mail.gmail.com> <189339.1680192046@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox