pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vladqt@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: Binary format for array in COPY-command
Date: Tue, 05 Dec 2017 11:22:35 -0500
Message-ID: <7776.1512490955@sss.pgh.pa.us> (raw)
In-Reply-To: <20171205114313.27103.21233@wrigleys.postgresql.org>
References: <20171205114313.27103.21233@wrigleys.postgresql.org>

vladqt@gmail.com writes:
> I could not find description of arrays for 9.6 Postgres:
> https://www.postgresql.org/docs/9.6/static/sql-copy.html

I do not think it's explicitly documented anyplace (neither is
the binary format for anything else, really).  But you can work
it out easily enough by looking at array_send and array_recv:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/utils/adt/arrayfuncs....

			regards, tom lane




view thread (2+ messages)

Message-ID: <7776.1512490955@sss.pgh.pa.us>
Permalink:  ../7776.1512490955@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7776.1512490955@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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vladqt@gmail.com
  Subject: Re: Binary format for array in COPY-command
  In-Reply-To: <7776.1512490955@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