Re: [HACKERS] Runtime Partition Pruning

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Beena Emerson <memissemerson(at)gmail(dot)com>
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Robert Haas <robertmhaas(at)gmail(dot)com>, amul sul <sulamul(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: [HACKERS] Runtime Partition Pruning
Date: 2017-12-21 14:28:53
Message-ID: CAKJS1f8PET0Pn54qvKK2dDDKbYXZO=XTjy2F=jjamFpviQXvzw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22 December 2017 at 03:02, Beena Emerson <memissemerson(at)gmail(dot)com> wrote:
> postgres=# create table ta (a int not null) partition by list (a);
> CREATE TABLE
> postgres=# create table ta1 partition of ta for values in(1,2);
> CREATE TABLE
> postgres=# create table ta2 partition of ta for values in(3,4);
> CREATE TABLE
> postgres=# explain select * from ta where a <> 1 and a <> 2;
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.

I just get "ERROR: negative bitmapset member not allowed" here. I
reported that one to Amit over on the other thread. Not sure why
you're getting a crash. Can you get a backtrace?

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-12-21 14:31:06 ddd
Previous Message Amit Kapila 2017-12-21 14:28:08 Re: vacuum vs heap_update_tuple() and multixactids