pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: no default hash partition
Date: Wed, 7 Aug 2019 10:59:13 -0400
Message-ID: <20190807145913.GA481@alvherre.pgsql> (raw)
In-Reply-To: <CA+HiwqF=RKegkjMxN57T9r44U_ehNksPAgrc9dhu01s8NWJ9FQ@mail.gmail.com>

On 2019-Aug-07, Amit Langote wrote:

> That hash-partitioned tables can't have default partition is mentioned
> in the CREATE TABLE page:
> 
> "If DEFAULT is specified, the table will be created as a default
> partition of the parent table. The parent can either be a list or
> range partitioned table. A partition key value not fitting into any
> other partition of the given parent will be routed to the default
> partition. There can be only one default partition for a given parent
> table."

This approach of documenting by omission seems unhelpful.  Yes, I'd like
to expand that too.


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (23+ messages)  latest in thread

Message-ID: <20190807145913.GA481@alvherre.pgsql>
Permalink:  ../20190807145913.GA481@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190807145913.GA481@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, amitlangote09@gmail.com
  Subject: Re: no default hash partition
  In-Reply-To: <20190807145913.GA481@alvherre.pgsql>
  References: <CA+HiwqF=RKegkjMxN57T9r44U_ehNksPAgrc9dhu01s8NWJ9FQ@mail.gmail.com> <20190807145913.GA481@alvherre.pgsql>

* 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