deflist_to_tuplestore dumped core on an option with no value.

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

Commit: cac73320ef0f35304e2dcade0fe1d32c07cb765f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-09-13T15:36:57Z
Releases: 9.0.5
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 +12 −2