Re: array syntax and geometric type syntax

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: array syntax and geometric type syntax
Дата
Msg-id 20090813165020.GF5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: array syntax and geometric type syntax  ("Dan Halbert" <halbert@halwitz.org>)
Список pgsql-general
On Thu, Aug 13, 2009 at 12:31:29PM -0400, Dan Halbert wrote:
> Perhaps I should have mentioned that initially.

In retrospect everything is easy!

>   SELECT ARRAY[1,2,1+2]::INT[];
> works fine.

I'd not put a cast into that one.  I can't see any performance reason
why it's bad, I think it's mainly because it may mask other problems
later on.  It's not going to affect much fundamental either way though.

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: totally different plan when using partitions
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PostgreSQL for Firefox Bookmarks?