-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just converted from hstore to jsonb #32
Conversation
michelmilezzi
commented
Nov 24, 2017
- Removed hstore dependency;
- Using jsonb builtin type;
- Postgres 10+.
Is actively managing this project? |
@michelmilezzi Did you run into an issue with PG10 that hstore broke? |
@jackhamburger Just removing an unneeded dependency. There was a long time since last activity here, I guess the folks from 2ndQuadrant discontinued this project... |
Moving to jsonb is wise. I'd like to find the time to test and merge this. It'd be a huge help if you could prepare a test script we could replay to test the extension. One that:
A simple way to do this would be to add a PGXS I will not have time to do this. I can't really merge the jsonb change without some kind of test script but I can't find the time to write one either, so I'm going to have to ask if anyone else @ here is willing. As for maintenance. This is not and never was a maintained product. It was my personal script I published for others, and re-hosted onto 2ndQ's account later. Like anything else you can contact [email protected] if you're interested in special arrangements, consulting etc. But really this is here as a service to the community because it's better here than on a wiki. |
Ok @ringerc, I'll do that. Thanks for the feedback. |
Hey @michelmilezzi, are you still on this? Would be great to see this merged :) |
@phryneas yes, I do. I'll finish it asap, thanks for the interest :) |
@michelmilezzi hi. I can see jsonb is also in Postgres 9.6 -- which I am using (cannot upgrade). Is there anything I need to know about it? |
I tried that on my local 9.6 (hstore works) and it throws exception:
i am not 100% sure, but i guess it complains about the line |
I made it working by removing After testing it turned out that JSONB (at least in 9.6) is ~ 2 times slower than 10,000 records in table with 69 fields + 7 indices:
Just FYI |
I also noticed the performance hit when switching from |
@sta-szek, @DavidBoone, @ringerc, are there any chance it will be merged? |
@2ndquadrant-ci any chance we could get this merged? |
No, I won't merge this PR, as it incompatibly changes the existing definition. Also, last I checked I would be happy to accept a PR that adds a json-flavoured extension with the same functionality, but you might as well just host your own and ask me to link to that instead of rewriting this one in that case. This was really meant to be a demo / proof of concept for people to adopt and adapt to their needs more than it was a canned ready-to-go project for all needs. |