Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)

Поиск
Список
Период
Сортировка
От Gavin Flower
Тема Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Дата
Msg-id 515C7A91.8030700@archidevsys.co.nz
обсуждение исходный текст
Ответ на Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
<div class="moz-cite-prefix">On 04/04/13 05:30, Tom Lane wrote:<br /></div><blockquote
cite="mid:16677.1365006659@sss.pgh.pa.us"type="cite"><blockquote type="cite"><blockquote type="cite"><pre wrap="">Zero
asthe default lower bound is consistent with most languages
 
(especially the common ones like C, C++, Java, & Python), in fact
I don't remember any language where that is not the case (ignoring
SQL) - and I've written programs in about 20 languages.
</pre></blockquote></blockquote><pre wrap="">
Fortran ... Basic ... actually I'd have thought that zero was a
minority position.  Fashions change I guess.
        regards, tom lane
</pre></blockquote><font size="-1">I had forgotten the indexing in BASIC & FO<font size="-1">RTRAN</font>, <font
size="-1">Inow recall COBOL's TABL<font size="-1">E's were equivalent to arrays and they started at on<font
size="-1">e.<br/><br /><br /><font size="-1">Cheers,<br /><font size="-1">Gavin</font><br
/></font></font></font></font></font>

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]