From: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Maheswaran R <rmaheswaranmca(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Fwd: Creating Partition in existing Table using postgreSQL11 |
Date: | 2018-11-08 00:55:39 |
Message-ID: | ca78466c-4b87-12ac-6902-e763b74fe54b@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi,
> On 11/2/18 1:34 AM, Maheswaran R wrote:
>> Dear Sir/madam,
>> I want to create partition on existing table, is it possible to create a
>> partition on existing tables in postgreSQL 11?
>> if so please give a sample script/syntax.
You can create a partition on an existing table only if the existing table
is defined as a partitioned table, like this:
create table existing_table_name (...) partition by ....
Read more about how to create partitioned tables and their partitions at
the following documentation of CREATE TABLE:
https://www.postgresql.org/docs/11/sql-createtable.html
By the way, this is not a bug, so pgsql-bugs(at)(dot)(dot)(dot) is not the list to ask
this. Next time, please send emails with such questions to
pgsql-general(at)lists(dot)postgresql(dot)org(dot) Also, read about which mailing lists
to use in different situations by reading their descriptions here:
https://www.postgresql.org/list/
Thanks,
Amit
From | Date | Subject | |
---|---|---|---|
Next Message | Frederico Costa Galvão | 2018-11-08 01:10:18 | Re: Re: BUG #15489: Segfault on DELETE |
Previous Message | Tom Lane | 2018-11-08 00:54:25 | Re: BUG #15466: Logical backups from v10 cannot be restored with v11 - "ERROR: schema "public" already exists" |