pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: legrand legrand <legrand_legrand@hotmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: copy csv into partitioned table with unique index
Date: Sun, 28 Jan 2018 03:55:38 -0700 (MST)
Message-ID: <1517136938387-0.post@n3.nabble.com> (raw)
In-Reply-To: <CA+t6e1=QCgqDbgU86pmsQAVWEgH08TvOeVukK9CfKfa53V7L2g@mail.gmail.com>
References: <CA+t6e1=QCgqDbgU86pmsQAVWEgH08TvOeVukK9CfKfa53V7L2g@mail.gmail.com>

Did you try to transform your temp table into a table partition using the
ALTER TABLE ATTACH syntax
https://www.postgresql.org/docs/10/static/ddl-partitioning.html

Regards
PAscal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html




view thread (2+ messages)

Message-ID: <1517136938387-0.post@n3.nabble.com>
Permalink:  ../1517136938387-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1517136938387-0.post@n3.nabble.com

 · 

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-performance@postgresql.org
  Cc: legrand_legrand@hotmail.com
  Subject: Re: copy csv into partitioned table with unique index
  In-Reply-To: <1517136938387-0.post@n3.nabble.com>

* 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