pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15581: CREATE TABLE  IF NOT EXISTS error
3+ messages / 3 participants
[nested] [flat]

* BUG #15581: CREATE TABLE  IF NOT EXISTS error
@ 2019-01-09 02:12  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: PG Bug reporting form @ 2019-01-09 02:12 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: liuwanle2010@gmail.com

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #15581: CREATE TABLE  IF NOT EXISTS error
@ 2019-01-09 16:05  Andres Freund <andres@anarazel.de>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Andres Freund @ 2019-01-09 16:05 UTC (permalink / raw)
  To: liuwanle2010@gmail.com; pgsql-bugs@lists.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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #15581: CREATE TABLE IF NOT EXISTS error
@ 2019-01-10 01:27  Wanle Liu <liuwanle2010@gmail.com>
  parent: Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Wanle Liu @ 2019-01-10 01:27 UTC (permalink / raw)
  To: Andres Freund <andres@anarazel.de>; +Cc: pgsql-bugs@lists.postgresql.org

Thanks,
https://github.com/citusdata/citus/issues/2087



-------------------------

刘万乐


Andres Freund <andres@anarazel.de> 于2019年1月10日周四 上午12:05写道:

> 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
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-01-10 01:27 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-09 02:12 BUG #15581: CREATE TABLE  IF NOT EXISTS error PG Bug reporting form <noreply@postgresql.org>
2019-01-09 16:05 ` Andres Freund <andres@anarazel.de>
2019-01-10 01:27   ` Re: BUG #15581: CREATE TABLE IF NOT EXISTS error Wanle Liu <liuwanle2010@gmail.com>

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