pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table?
4+ messages / 4 participants
[nested] [flat]

* BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table?
@ 2016-05-25 09:54  digoal@126.com
  0 siblings, 2 replies; 4+ messages in thread

From: digoal@126.com @ 2016-05-25 09:54 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14158
Logged by:          Zhou Digoal
Email address:      digoal@126.com
PostgreSQL version: 9.6beta1
Operating system:   CentOS 6.x x64
Description:        

master=# create extension bloom;
CREATE EXTENSION                          ^
master=# create unlogged table tbl12(id int);
CREATE TABLE

master=# \set VERBOSITY verbose
master=# create index idx1 on tbl12 using bloom (id);
ERROR:  XX000: index "idx1" already contains data
LOCATION:  blbuildempty, blinsert.c:164


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


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

* Re: BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table?
@ 2016-05-25 12:24  Hao Lee <mixtrue@gmail.com>
  parent: digoal@126.com
  1 sibling, 0 replies; 4+ messages in thread

From: Hao Lee @ 2016-05-25 12:24 UTC (permalink / raw)
  To: digoal@126.com; +Cc: pgsql-bugs

In bool\blinsert.c, the function "blbuildempty" the if test failed. And, in
catlog\index.c line 2037, after creating the index file, then to build
empty index file. but we got the "one" block number of the relation, that
lead the if test failed.

On Wed, May 25, 2016 at 5:54 PM, <digoal@126.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      14158
> Logged by:          Zhou Digoal
> Email address:      digoal@126.com
> PostgreSQL version: 9.6beta1
> Operating system:   CentOS 6.x x64
> Description:
>
> master=# create extension bloom;
> CREATE EXTENSION                          ^
> master=# create unlogged table tbl12(id int);
> CREATE TABLE
>
> master=# \set VERBOSITY verbose
> master=# create index idx1 on tbl12 using bloom (id);
> ERROR:  XX000: index "idx1" already contains data
> LOCATION:  blbuildempty, blinsert.c:164
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

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

* Re: BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table?
@ 2016-05-25 14:16  Tom Lane <tgl@sss.pgh.pa.us>
  parent: digoal@126.com
  1 sibling, 1 reply; 4+ messages in thread

From: Tom Lane @ 2016-05-25 14:16 UTC (permalink / raw)
  To: digoal@126.com; +Cc: pgsql-bugs

digoal@126.com writes:
> master=# create unlogged table tbl12(id int);
> CREATE TABLE
> master=# \set VERBOSITY verbose
> master=# create index idx1 on tbl12 using bloom (id);
> ERROR:  XX000: index "idx1" already contains data
> LOCATION:  blbuildempty, blinsert.c:164

Isn't this a duplicate of bug #14155?

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



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

* Re: BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table?
@ 2016-05-25 16:02  Michael Paquier <michael.paquier@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Michael Paquier @ 2016-05-25 16:02 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

On Wed, May 25, 2016 at 7:16 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> digoal@126.com writes:
>> master=# create unlogged table tbl12(id int);
>> CREATE TABLE
>> master=# \set VERBOSITY verbose
>> master=# create index idx1 on tbl12 using bloom (id);
>> ERROR:  XX000: index "idx1" already contains data
>> LOCATION:  blbuildempty, blinsert.c:164
>
> Isn't this a duplicate of bug #14155?

Yes, you already fixed that with abaffa90 yesterday.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



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


end of thread, other threads:[~2016-05-25 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 09:54 BUG #14158: PostgreSQL 9.6 bloom don't support unlogged table? digoal@126.com
2016-05-25 12:24 ` Hao Lee <mixtrue@gmail.com>
2016-05-25 14:16 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-05-25 16:02   ` Michael Paquier <michael.paquier@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