Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id D4A1B4C1A83 for ; Thu, 10 May 2012 15:58:16 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SSYZ5-0008T0-UN for pgsql-bugs@postgresql.org; Thu, 10 May 2012 18:58:16 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SSYYt-00073D-C9 for pgsql-bugs@postgresql.org; Thu, 10 May 2012 18:58:03 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SSYYs-0007sn-UI for pgsql-bugs@postgresql.org; Thu, 10 May 2012 18:58:02 +0000 Date: Thu, 10 May 2012 18:58:02 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6636: Variadic function fails with array type domain To: pgsql-bugs@postgresql.org From: lynn@creditlink.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/54 X-Sequence-Number: 33025 The following bug has been logged on the website: Bug reference: 6636 Logged by: Lynn Dobbs Email address: lynn@creditlink.com PostgreSQL version: 9.1.3 Operating system: Linux Description: = 1. postgresql built from src. 2. The following functions on 9.0.4 but fails on 9.1.3. (Discovered during a dump/restore for upgrade). 3. Code: creditlink=3D# create domain foo as bigint[]; CREATE DOMAIN creditlink=3D# create function foobar(variadic foo) as $$ select true $$ language sql; ERROR: 42P13: VARIADIC parameter must be an array LOCATION: examine_parameter_list, functioncmds.c:279