deflist_to_tuplestore dumped core on an option with no value.

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

Commit: 5d68fe14fcc6012cd9e7178422d37cb88cb17196
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-09-13T15:37:03Z
Releases: 8.4.9
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