Re: Array constructor requires one argument - Mailing list pgsql-general

From Joe Conway
Subject Re: Array constructor requires one argument
Date
Msg-id 45A3ECF5.9030606@joeconway.com
Whole thread Raw
In response to Re: Array constructor requires one argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Array constructor requires one argument  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>
>>On Tue, Jan 09, 2007 at 10:02:09AM -0500, Tom Lane wrote:
>>
>>>Define the data type of
>>>SELECT ARRAY[];
>
>
>>The same type as:
>>SELECT NULL;
>
>
> Hardly, because whatever type NULL has, it's not an array type.

Here's a link to the initial discussion on this topic:

http://archives.postgresql.org/pgsql-hackers/2003-06/msg01195.php

Unless we can convince ourselves that array-of-UNKNOWN is not dangerous,
I don't think this is easily solved.

Joe

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: is there a tracking trace tool like the "SQL Analizer"
Next
From: Jonathan Hedstrom
Date:
Subject: ERROR: invalid memory alloc request size, and others