Skip to content
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

Hstore fixes and improvements #36

Merged
merged 6 commits into from
Apr 5, 2017
Merged

Hstore fixes and improvements #36

merged 6 commits into from
Apr 5, 2017

Conversation

starstuck
Copy link
Contributor

A few issues we have noticed when running it via production data set

-define(NAMESPACE_PATTERN, "'^(([^:]|\\\\\\\\|\\\\:)+):'").
-define(NAME_PATTERN, "'^(?:[^:]|\\\\\\\\|\\\\:)+:(.*)$'").
-define(NAMESPACE_PATTERN, "'^(([^:]|\\\\\\\\|\\\\:)*):'").
-define(NAME_PATTERN, "'^(?:[^:]|\\\\\\\\|\\\\:)*:(.*)$'").
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why the change from + to *, is this to allow 'empty' namespaces like WHERE :color = 'red' ?

Copy link
Contributor Author

@starstuck starstuck Apr 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly for that. Empty namespace is default, so it is actually very likely to be used.

@Licenser
Copy link
Contributor

Licenser commented Apr 5, 2017

thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants