Re: ask for review of MERGE - Mailing list pgsql-hackers

From Boxuan Zhai
Subject Re: ask for review of MERGE
Date
Msg-id AANLkTikssVJWqDQMJfhRo1FhEyfeNdwyCKVSMAuyS1Hc@mail.gmail.com
Whole thread Raw
In response to Re: ask for review of MERGE  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers

This did seem to find a bug in the implementation after running for a while:

TRAP: FailedAssertion("!(epqstate->origslot != ((void *)0))", File: "execMain.c", Line: 1732)

Line number there is relative to what you can see at http://github.com/greg2ndQuadrant/postgres/blob/merge/src/backend/executor/execMain.c
and that's a null pointer check at the beginning of EvalPlanQualFetchRowMarks.  Haven't explored why this happened or how repeatable this is, but since Boxuan was looking for some bugs to chase I wanted to deliver him one to chew on.


I am not sure how this bug comes. I will try to find out the reason for it. 

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: xlog.c: WALInsertLock vs. WALWriteLock
Next
From: Jan Urbański
Date:
Subject: Re: Bug in plpython's Python Generators