Re: Assertion failure in get_attstatsslot() - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Assertion failure in get_attstatsslot()
Date
Msg-id 1278715730-sup-1347@alvh.no-ip.org
Whole thread Raw
In response to Re: Assertion failure in get_attstatsslot()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Assertion failure in get_attstatsslot()
Re: Assertion failure in get_attstatsslot()
List pgsql-hackers
Excerpts from Tom Lane's message of vie jul 09 12:16:42 -0400 2010:

> If anybody feels really uncomfortable with that, we could add a
> compensating "Assert(IsBinaryCoercible(ARR_ELEMTYPE(statarray),
> atttype))" into get_attstatsslot().  Not sure if it's worth the cycles.

Cycles spent only in assert-enabled builds?  Why not?


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add a hook in ExecCheckRTPerms().
Next
From: Tom Lane
Date:
Subject: Re: Assertion failure in get_attstatsslot()