Thread: pgsql: deflist_to_tuplestore dumped core on an option with no value.

pgsql: deflist_to_tuplestore dumped core on an option with no value.

From
Tom Lane
Date:
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.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5d68fe14fcc6012cd9e7178422d37cb88cb17196

Modified Files
--------------
src/backend/foreign/foreign.c |   14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)