BUG #6636: Variadic function fails with array type domain

From: lynn(at)creditlink(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6636: Variadic function fails with array type domain
Date: 2012-05-10 18:58:02
Message-ID: E1SSYYs-0007sn-UI@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6636
Logged by: Lynn Dobbs
Email address: lynn(at)creditlink(dot)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=# create domain foo as bigint[];
CREATE DOMAIN
creditlink=# 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-05-10 19:55:11 Re: BUG #6636: Variadic function fails with array type domain
Previous Message Simon Riggs 2012-05-10 15:25:52 Re: in hot standby database execute select * from pg_class indicate error