Re: Some questions about the array.

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Some questions about the array.
Дата
Msg-id CAFj8pRDOJE2GF85P=TbXUyGCQhUSQJzVPB60Rrt20Pfa00HE=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Some questions about the array.  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers


2015-11-09 13:50 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:


2015-11-09 13:32 GMT+01:00 YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>:
On Monday 09 November 2015 13:29:30 you wrote:
> It is ugly, but you can wrap it to function - so still I don't see any
> reason, why it is necessary
For example, I'm writing a lot of queries by hands...
This functionality is available in many languages and it's just convenient. Of
course it is possible and without it, but why?

New symbols increase a complexity of our code and our documentation.

If some functionality can be implemented via functions without performance impacts, we should not to create new operators or syntax - mainly for corner use cases.

I can understand, so current system of accessing array data has some disadvantage - the behave was designed twenty years ago, when the arrays didn't support NULLs, but I am not sure, if introduction secondary accessing system helps. Probably not.

Regards

Pavel
 

Regards

Pavel

 

Thanks.
--
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Some questions about the array.
Следующее
От: YUriy Zhuravlev
Дата:
Сообщение: Re: Some questions about the array.