From: Andres Freund <andres@anarazel.de>
To: liuwanle2010@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15581: CREATE TABLE IF NOT EXISTS error
Date: Wed, 9 Jan 2019 08:05:33 -0800
Message-ID: <20190109160533.23y7hmjpf5hclvvx@alap3.anarazel.de> (raw)
In-Reply-To: <15581-085ab3bb11d7e2fa@postgresql.org>
References: <15581-085ab3bb11d7e2fa@postgresql.org>
Hi,
On 2019-01-09 02:12:54 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15581
> Logged by: iG
> Email address: liuwanle2010@gmail.com
> PostgreSQL version: 11.1
> Operating system: Debian 9
> Description:
>
> sql:
> create table if not exists z.user_20190110 partition of z.user for values
> from ('20190110') to ('20190111');
>
> messages:
> NOTICE: relation "user_20190110" already exists, skipping
> ERROR: table "user_20190110" is already distributed
> SQL 状态:42P16
This does not appear to be an error message emitted by plain
postgres. Area you using an extension like Citus? If so, that's likely
where you'd need to redirect this bug to.
Greetings,
Andres Freund
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: andres@anarazel.de, liuwanle2010@gmail.com
Subject: Re: BUG #15581: CREATE TABLE IF NOT EXISTS error
In-Reply-To: <20190109160533.23y7hmjpf5hclvvx@alap3.anarazel.de>
References: <15581-085ab3bb11d7e2fa@postgresql.org> <20190109160533.23y7hmjpf5hclvvx@alap3.anarazel.de>
* 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