Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C1082B5DC67 for ; Tue, 13 Sep 2011 12:11:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 04408-07 for ; Tue, 13 Sep 2011 15:11:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 5049AB5DC07 for ; Tue, 13 Sep 2011 12:11:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8DFBJVQ006234; Tue, 13 Sep 2011 11:11:19 -0400 (EDT) To: Frank van Vugt cc: pgsql-bugs@postgresql.org Subject: Re: segfault using pg_options_to_table(), v9.0.4 In-reply-to: <201109131448.55823.ftm.van.vugt@foxi.nl> References: <201109131448.55823.ftm.van.vugt@foxi.nl> Comments: In-reply-to Frank van Vugt message dated "Tue, 13 Sep 2011 14:48:55 +0200" Date: Tue, 13 Sep 2011 11:11:19 -0400 Message-ID: <6233.1315926679@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/71 X-Sequence-Number: 31088 Frank van Vugt writes: > postgres=# select pg_options_to_table(ARRAY['article']); > --3262-2011-09-13 14:28:18 CESTLOG: server process (PID 7427) was terminated > by signal 11: Segmentation fault Looks like deflist_to_tuplestore fails to handle the case where an option has no value. Will fix, thanks. regards, tom lane