Re: Binary format for array in COPY-command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vladqt(at)gmail(dot)com
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Binary format for array in COPY-command
Date: 2017-12-05 16:22:35
Message-ID: 7776.1512490955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

vladqt(at)gmail(dot)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.c;hb=HEAD

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2017-12-05 20:43:50 Re: [DOCS] Building 10.0 PDFs - fop config
Previous Message Peter Eisentraut 2017-12-05 14:07:41 Re: generate.consistent.ids