{"action":"opened","issue":{"url":"https://api.github.com/repos/brianc/node-libpq/issues/23","labels_url":"https://api.github.com/repos/brianc/node-libpq/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-libpq/issues/23/comments","events_url":"https://api.github.com/repos/brianc/node-libpq/issues/23/events","html_url":"https://github.com/brianc/node-libpq/issues/23","id":94548068,"number":23,"title":"it seems zeros and nulls cannot be passed to parameterized queries","user":{"login":"trailsandtribulations","id":842707,"avatar_url":"https://avatars.githubusercontent.com/u/842707?v=3","gravatar_id":"","url":"https://api.github.com/users/trailsandtribulations","html_url":"https://github.com/trailsandtribulations","followers_url":"https://api.github.com/users/trailsandtribulations/followers","following_url":"https://api.github.com/users/trailsandtribulations/following{/other_user}","gists_url":"https://api.github.com/users/trailsandtribulations/gists{/gist_id}","starred_url":"https://api.github.com/users/trailsandtribulations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trailsandtribulations/subscriptions","organizations_url":"https://api.github.com/users/trailsandtribulations/orgs","repos_url":"https://api.github.com/users/trailsandtribulations/repos","events_url":"https://api.github.com/users/trailsandtribulations/events{/privacy}","received_events_url":"https://api.github.com/users/trailsandtribulations/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-12T08:43:53Z","updated_at":"2015-07-12T08:43:53Z","closed_at":null,"body":"in the parameterized query\r\n`insert into place_type( plt_id, name, category, spr_plt_id, descr )`\r\n`values( $1, $2, $3, $4, $5 ) returning *`\r\n\r\nwith the array\r\n\r\n`[ 5, 0, 'wat', 'what', null ]`\r\n\r\nI get the error\r\n\r\nwhen I substitute 1 and 'something' for 0 and null, it works.\r\n\r\nthis seems to be pretty major. am I missing something obvious? (hope so!)"}}