Re: Some questions about the array. - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Some questions about the array.
Date
Msg-id CAFj8pRDOJE2GF85P=TbXUyGCQhUSQJzVPB60Rrt20Pfa00HE=Q@mail.gmail.com
Whole thread Raw
In response to Re: Some questions about the array.  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Some questions about the array.
Next
From: YUriy Zhuravlev
Date:
Subject: Re: Some questions about the array.