Skip to content

Handle "NULL" correctly in arrays #103

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

Merged
merged 1 commit into from
Mar 7, 2012
Merged

Handle "NULL" correctly in arrays #103

merged 1 commit into from
Mar 7, 2012

Conversation

jeremyevans
Copy link
Contributor

NULL in arrays is NULL, but "NULL" in arrays is 'NULL' (a string).

Sorry about the lack of tests for this. I just noticed it as I was building a ruby PostgreSQL array
parser based on the code, and one of my tests wasn't working.

NULL in arrays is NULL, but "NULL" in arrays is 'NULL' (a string).
brianc added a commit that referenced this pull request Mar 7, 2012
@brianc brianc merged commit bbcbdee into brianc:master Mar 7, 2012
@brianc
Copy link
Owner

brianc commented Mar 7, 2012

Thanks! I added a failing test before I merged your changes, merged them, and then the test passed...open source is magical :octocat:

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