Re: Array constructor requires one argument

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Array constructor requires one argument
Дата
Msg-id 45A3ECF5.9030606@joeconway.com
обсуждение исходный текст
Ответ на Re: Array constructor requires one argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Array constructor requires one argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: is there a tracking trace tool like the "SQL Analizer"
Следующее
От: Jonathan Hedstrom
Дата:
Сообщение: ERROR: invalid memory alloc request size, and others