Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: operationsengineer1Date: 2005-03-01 18:41:33
Subject: Re: Please help
Previous:From: Kumar SDate: 2005-03-01 18:03:33
Subject: Re: Please help

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group