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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: deflist_to_tuplestore dumped core on an option with no value.
Date: 2011-09-13 15:37:35
Message-ID: E1R3V3H-00053n-Hy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/663bee0d5c1e3ff2380377c7894499ae91eabd87

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2011-09-14 00:45:02 pgsql: Split walsender.h in public/private headers
Previous Message Tom Lane 2011-09-13 14:58:24 pgsql: Propagate with_system_tzdata setting into initdb build.