Re: 9.6.3 - Backend Crash - Parallel Worker Prepared Statements

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jarred Ward <jarred@simple.com>
Cc: pgsql-bugs@postgresql.org
Date: 2017-08-08T22:35:32Z
Lists: pgsql-bugs
Jarred Ward <jarred@simple.com> writes:
> We are experiencing a crash with parallel worker processes enabled in
> one of our production 9.6.3 databases on Linux. When parallel workers
> are disable, the issue does not occur.

Huh.  datumEstimateSpace is just wrong for fixed-length types such as uuid.

Too bad you didn't report this two days ago, when we could have gotten
the fix into 9.6.4 :-(.  But thanks for the report, anyway!

			regards, tom lane


Commits

  1. Fix datumSerialize infrastructure to not crash on non-varlena data.