Re: Proposal: new function array_init - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Proposal: new function array_init
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Proposal: new function array_init  (Tom Lane <[email protected]>)
Responses Re: Proposal: new function array_init
List pgsql-hackers
2008/6/4 Tom Lane <[email protected]>:
> "Pavel Stehule" <[email protected]> writes:
>> 2008/6/4 Tom Lane <[email protected]>:
>>> Huh?  That's completely nonsensical ... where will you determine the
>>> type of the array, if you don't have a sample element?
>
>> it is nonsens in current postgres. But null array is castable to anyarray no?
>
> If you mean an array of nulls, it still has to have an element type.

I know it -  but there was discus about untyped array for empty arrays
like ARRAY[]it is little bit similar
>
>                        regards, tom lane
>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Change lock requirements for adding a trigger
Next
From: Andrew Dunstan
Date:
Subject: Re: Proposal: new function array_init