Re: Multidimensional arrays in plpgsql

Поиск
Список
Период
Сортировка
От Celia McInnis
Тема Re: Multidimensional arrays in plpgsql
Дата
Msg-id 20050318190144.M5262@drmath.ca
обсуждение исходный текст
Ответ на Re: Multidimensional arrays in plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Multidimensional arrays in plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hmmmm - but a little uglier in my real application where the arrays are of
type TIMESTAMP.

Is there anything other than a valid timestamp that I can use for a timestamp
initializer - for instance some value that translates to epoch time, etc.?

Celia McInnis


> > Tom, are you recommending that I don't use multidimensional arrays until some
> > later version of postgres?
>
> No, just that you not try to put nulls in them ;-)
>
> Something like
>     myarray1 INT[2][2]:=array[[0,0],[0,0]];
> woulda worked fine.


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

Предыдущее
От: "Erik Dahlstrand"
Дата:
Сообщение: Re: [despammed] Destination table by variable?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Array of Objects