From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: kingsbury.matthew@gmail.com
Subject: BUG #16025: pg_default tablespace is removable but not creatable
Date: Wed, 25 Sep 2019 23:31:42 +0000
Message-ID: <16025-c86354bc1ad3e898@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16025
Logged by: Matthew Kingsbury
Email address: kingsbury.matthew@gmail.com
PostgreSQL version: 11.5
Operating system: Ubuntu 18.04 LTS
Description:
I was able to rename pg_default to something else, accidentally. However,
there appears to be no mechanism to replace pg_default nor can one replace
the pg_default after performing this action. E.g. if one runs the command:
ALTER TABLESPACE pg_default
RENAME TO not_pg_default;
ALTER TABLESPACE not_pg_default
RENAME TO pg_default;
One encounters this error:
ERROR: unacceptable tablespace name "pg_default"
DETAIL: The prefix "pg_" is reserved for system tablespaces.
Leaving one without the pg_default tablespace.
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-bugs@postgresql.org
Cc: noreply@postgresql.org, kingsbury.matthew@gmail.com
Subject: Re: BUG #16025: pg_default tablespace is removable but not creatable
In-Reply-To: <16025-c86354bc1ad3e898@postgresql.org>
References: <16025-c86354bc1ad3e898@postgresql.org>
* 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