Re: Anyarray with mixed data types inside of a PL/PLSQL function parameter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christian Hofmann" <christian(dot)hofmann(at)gmx(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Anyarray with mixed data types inside of a PL/PLSQL function parameter
Date: 2005-03-01 18:27:00
Message-ID: 19227.1109701620@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Christian Hofmann" <christian(dot)hofmann(at)gmx(dot)de> writes:
> select test(ARRAY[['my_row'::text, 'mytext'::text, false::boolean, 'thats my
> value'::text],['my_row2'::text, 'integer'::text, false::boolean,
> 3::integer]])

You can't have an "array" whose elements are of different datatypes.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2005-03-01 18:41:33 Re: Please help
Previous Message Kumar S 2005-03-01 18:03:33 Re: Please help