Re: [sqlsmith] Failed assertion in _hash_splitbucket_guts - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [sqlsmith] Failed assertion in _hash_splitbucket_guts
Date
Msg-id CA+TgmoZea8NxEVu9B0Y=-88UjtzEVX77PEtc_=Lze2NVd591-A@mail.gmail.com
Whole thread Raw
In response to Re: [sqlsmith] Failed assertion in _hash_splitbucket_guts  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Fri, Dec 2, 2016 at 10:04 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> Here we shouldn't be accessing meta page after releasing the lock as
>> concurrent activity can change these values.  This can be fixed by
>> storing these values in local variables before releasing the lock and
>> passing local variables in hashbucketcleanup().  I will send patch
>> shortly.
>
> Please find attached patch to fix above code.

Committed.  I don't know either whether this will fix things for
Andreas, but it's certainly a bug fix in its own right.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: The max value of autovacuum_vacuum/analyze_scale_factor.
Next
From: Tom Lane
Date:
Subject: Re: Tackling JsonPath support