Re: Extension for PostgreSQL cast jsonb to hstore WIP

2024-07-14 Thread Антуан Виолин
On 2024-04-03 Wn 04:21, Andrew Dunstan > I don't think a cast that doesn't cater for all the forms json can take is > going to work very well. At the very least you would need to error out in > cases you didn't want to cover, and have tests for all of those errors. But > the above is only a tiny f

Re: Sort functions with specialized comparators

2024-07-14 Thread Антуан Виолин
> > Hello all. > > I have decided to explore more areas in which I can optimize and have added > two new benchmarks. Do you have any thoughts on this? > > postgres=# select bench_int16_sort(100); > bench_int16_sort > > > --

Re: Extension for PostgreSQL cast jsonb to hstore WIP

2024-05-06 Thread Антуан Виолин
On 2024-04-03 Wn 04:21, Andrew Dunstan > I don't think a cast that doesn't cater for all the forms json can take is going to work very well. At the very least you would need to error out in cases you didn't want to cover, and have tests for all of > > those errors. But the above is only a tiny frac