{"action":"created","issue":{"url":"https://api.github.com/repos/mbalmer/luapgsql/issues/9","labels_url":"https://api.github.com/repos/mbalmer/luapgsql/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mbalmer/luapgsql/issues/9/comments","events_url":"https://api.github.com/repos/mbalmer/luapgsql/issues/9/events","html_url":"https://github.com/mbalmer/luapgsql/issues/9","id":53693413,"number":9,"title":"Incorrect handling of infinitys","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-07T22:56:16Z","updated_at":"2015-02-15T09:52:12Z","closed_at":null,"body":"`asprintf(&paramValues[n], \"%f\", v)` incorrectly renders `inf` for `math.huge`. It should render `Infinity`\r\n\r\nIssue is at https://github.com/mbalmer/luapgsql/blob/054741811a92cfd8173be9d41a2b59f778309da4/luapgsql.c#L410.\r\nPostgres docs: http://www.postgresql.org/docs/current/static/datatype-numeric.html"},"comment":{"url":"https://api.github.com/repos/mbalmer/luapgsql/issues/comments/74410962","html_url":"https://github.com/mbalmer/luapgsql/issues/9#issuecomment-74410962","issue_url":"https://api.github.com/repos/mbalmer/luapgsql/issues/9","id":74410962,"user":{"login":"mbalmer","id":426015,"avatar_url":"https://avatars.githubusercontent.com/u/426015?v=3","gravatar_id":"","url":"https://api.github.com/users/mbalmer","html_url":"https://github.com/mbalmer","followers_url":"https://api.github.com/users/mbalmer/followers","following_url":"https://api.github.com/users/mbalmer/following{/other_user}","gists_url":"https://api.github.com/users/mbalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mbalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbalmer/subscriptions","organizations_url":"https://api.github.com/users/mbalmer/orgs","repos_url":"https://api.github.com/users/mbalmer/repos","events_url":"https://api.github.com/users/mbalmer/events{/privacy}","received_events_url":"https://api.github.com/users/mbalmer/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T09:52:12Z","updated_at":"2015-02-15T09:52:12Z","body":"NUMERICOID or FLOAT8OID, does it really matter?  Imo, both are just fine.  If we switch to binary fomats, then we likely need to include server headers again: \"Values passed in binary format require knowledge of the internal representation expected by the backend.\".  Need to check this."}}