Insertion fails when the value contains dollar sign character $ #55

Closed
kgilpin opened this Issue Nov 2, 2012 · 4 comments

Comments

Projects
None yet
2 participants
Contributor

kgilpin commented Nov 2, 2012

PG::Error: ERROR: Syntax error near '$'

Inserting a string value which contains the sub-string:

"$1"

causes the above error and the insertion to fail.

diogob was assigned Nov 5, 2012

Owner

diogob commented Nov 5, 2012

I'll take a look at this ASAP

Contributor

kgilpin commented Jan 29, 2013

Hi, any thoughts on this? Definitely some escaping by pg hstore is required because this is causing me fits.

diogob closed this Feb 4, 2013

diogob closed this Feb 4, 2013

Contributor

kgilpin commented Feb 4, 2013

Can you please post the commit sha?

Owner

diogob commented Feb 4, 2013

Sorry, this should be the fix: 7284b8b
But please read the new README, specially the note about 0.7 before upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment