Kyotaro Horiguchi <horikyota....@gmail.com> writes: > We cannot reach there with ev_action == NULL since it comes from a > non-nullable column. Since most of the other columns has an assertion > that !isnull, I think we should do the same thing for ev_action (and > ev_qual). SPI_getvalue() returns C-NULL for SQL-NULL (or for some > other unexpected situations.).
Isn't the comment just above there wrong? /* these could be nulls */ I wonder just when that became outdated. regards, tom lane