Re: gs_group_1 crashing on 13beta2/s390x - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: gs_group_1 crashing on 13beta2/s390x
Date
Msg-id 877dv4otbb.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: gs_group_1 crashing on 13beta2/s390x  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: gs_group_1 crashing on 13beta2/s390x  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 Tom> It's hardly surprising that datumCopy would segfault when given a
 Tom> null "value" and told it is pass-by-reference. However, to get to
 Tom> the datumCopy call, we must have passed the MemoryContextContains
 Tom> check on that very same pointer value, and that would surely have
 Tom> segfaulted as well, one would think.

Nope, because MemoryContextContains just returns "false" if passed a
NULL pointer.

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Jesse Zhang
Date:
Subject: Re: Volatile Functions in Parallel Plans
Next
From: Satish S
Date:
Subject: How to identify trigger is called from the node where row is created