Re: [HACKERS] hstore: add hstore_length function

2016-06-06 Thread Korbin Hoffman
strong consensus for change, though, I'm happy to do so. Thanks, Korbin Hoffman On Mon, Jun 6, 2016 at 1:23 PM, Fabrízio de Royes Mello wrote: > > > On Fri, Jun 3, 2016 at 7:58 AM, Korbin Hoffman wrote: >> >> Hi there- >> >> I've attached a small

[HACKERS] hstore: add hstore_length function

2016-06-03 Thread Korbin Hoffman
didn't already exist. Without this function, I've been converting an hstore into an array and then counting it - a more expensive operation (~30-40% slower than SELECTing the hstore itself in a few of my tests). I will add this thread and patch to the next Commitfest. Thanks, Korbin Ho