pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Amit Langote <amitlangote09@gmail.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: no default hash partition
Date: Wed, 07 Aug 2019 12:44:13 -0400
Message-ID: <5255.1565196253@sss.pgh.pa.us> (raw)
In-Reply-To: <20190807162945.GA28711@alvherre.pgsql>
References: <20190807162945.GA28711@alvherre.pgsql>

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Actually, it also says this (in the blurb for the PARTITION OF clause):

>       Creates the table as a <firstterm>partition</firstterm> of the specified
>       parent table. The table can be created either as a partition for specific
>       values using <literal>FOR VALUES</literal> or as a default partition
>       using <literal>DEFAULT</literal>.  This option is not available for
>       hash-partitioned tables.

> which I think is sufficient.

Hm, that's rather confusingly worded IMO.  Is the antecedent of "this
option" just DEFAULT, or does it mean that you can't use FOR VALUES,
or perchance it means that you can't use a PARTITION OF clause
at all?

			regards, tom lane





view thread (23+ messages)  latest in thread

Message-ID: <5255.1565196253@sss.pgh.pa.us>
Permalink:  ../5255.1565196253@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5255.1565196253@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, amitlangote09@gmail.com
  Subject: Re: no default hash partition
  In-Reply-To: <5255.1565196253@sss.pgh.pa.us>
  References: <20190807162945.GA28711@alvherre.pgsql> <5255.1565196253@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