deflist_to_tuplestore dumped core on an option with no value.

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

Commit: 663bee0d5c1e3ff2380377c7894499ae91eabd87
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-09-13T15:36:53Z
Releases: 9.1.1
deflist_to_tuplestore dumped core on an option with no value.

Make it return NULL for the option_value, instead.

Per report from Frank van Vugt.  Back-patch to 8.4 where this code was
added.

Files

PathChange+/−
src/backend/foreign/foreign.c modified +11 −2