From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Cc: Martin Atukunda <matlads@gmail.com>
Subject: Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist
Date: Sun, 05 Dec 2010 11:42:59 -0500
Message-ID: <26122.1291567379@sss.pgh.pa.us> (raw)
In-Reply-To: <201012051358.22813.andres@anarazel.de>
References: <201012050650.oB56opvM090787@wwwmaster.postgresql.org>
<AANLkTikSHA0CvwZsQLNFUXCBVELEmXG_bPCqTnHqwXEN@mail.gmail.com>
<201012051329.35665.andres@anarazel.de>
<201012051358.22813.andres@anarazel.de>
Andres Freund <andres@anarazel.de> writes:
>> On Sunday 05 December 2010 13:07:23 Martin Atukunda wrote:
>>>> so, basically, the only way out of this would be to:
I think the reason the given example fails is just that it's all being
done in one transaction. If the null-containing row were known dead
it wouldn't get indexed. So: commit.
regards, tom lane
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: tgl@sss.pgh.pa.us, andres@anarazel.de, matlads@gmail.com
Subject: Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist
In-Reply-To: <26122.1291567379@sss.pgh.pa.us>
References: <201012050650.oB56opvM090787@wwwmaster.postgresql.org> <AANLkTikSHA0CvwZsQLNFUXCBVELEmXG_bPCqTnHqwXEN@mail.gmail.com> <201012051329.35665.andres@anarazel.de> <201012051358.22813.andres@anarazel.de> <26122.1291567379@sss.pgh.pa.us>
* 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