_penalty gist method invoked with one key NULL

From: Grzegorz Piotr Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: _penalty gist method invoked with one key NULL
Date: 2005-10-27 21:15:53
Message-ID: 200510272315.53700@gj-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

As in subject.
What it does, it gets through picksplit, I return good values, valid unions,
etc. Than (I guess) postgres is trying to insert another value in tree, hence
penalty is called. Why one of the values penalty is called with is NULL, and
I have no idea if that's valid.
From all the examples available in contrib dir, I can deduct that it shouldn't
happend.
Now question, how shall I debug postgres in this case?
can I just run postgres, in non forking mode, on gdb?
I am running psql with all commands required to create new type, functions,
operators, and gist. So there must be separate connection available for that.

Thanks.

--
GJ

Binary system, you're either 1 or 0...
dead or alive ;)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-10-27 21:26:13 Re: enums
Previous Message Ted Rolle 2005-10-27 20:54:36 Re: enums