deflist_to_tuplestore dumped core on an option with no value.

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

Commit: 6693c9a5ed3ac9c07160039742dde8aa67e96ecf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-09-13T15:36:49Z
Releases: 9.2.0
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