From: John Scalia <jayknowsunix@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Working with partition tables
Date: Thu, 12 Nov 2020 11:18:48 -0500
Message-ID: <CB597D75-DE77-4D17-9180-E7119AB6AA4F@gmail.com> (raw)
Hi all,
We’re having a bit of a problem getting a partitioned table altered. The parent table has two partitions, which we have detached from it. The parent, however, refuses to be altered, as the parent still shows it is partitioned by its list attribute, I.e. from \d+
Partition key: LIST(batched)
Is there any way to remove the partition key, or do we simply need to create a new table with the structure we need, drop the old one, then rename the new one to that original name and reattach the partitions?
The docs on this seem a bit unclear on this issue.
—
Jay
Sent from my iPad
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-admin@postgresql.org
Cc: jayknowsunix@gmail.com
Subject: Re: Working with partition tables
In-Reply-To: <CB597D75-DE77-4D17-9180-E7119AB6AA4F@gmail.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