{"action":"created","issue":{"url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/1","labels_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/1/comments","events_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/1/events","html_url":"https://github.com/bmatsuo/lmdb-go/issues/1","id":111514587,"number":1,"title":"Unsupported features","user":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T23:22:57Z","updated_at":"2015-11-01T00:03:44Z","closed_at":null,"body":"Unsupported C functions:\r\n===\r\n\r\n- [x] ~~**mdb_env_get_fd**&ast;~~ (#3)\r\n- [ ] **mdb_env_set_userctx**&ast;/**mdb_env_get_userctx**&ast;\r\n\r\n - See [comment](https://github.com/bmatsuo/lmdb-go/issues/1#issuecomment-151668115) below.\r\n - Why not put a field in the `Env` struct instead to avoid cgo call overhead?\r\n\r\n- [x] ~~**mdb_env_set_assert**&ast;~~ ([wontfix](https://github.com/bmatsuo/lmdb-go/issues/1#issuecomment-152039420))\r\n\r\n- [ ] **mdb_set_compare**&ast;&ast;/**mdb_set_dupsort**&ast;&ast;  and  **mdb_cmp**/**mdb_dcmp** (#12)\r\n\r\n- [ ] **mdb_set_relfunc**/**mdb_set_relctx**\r\n\r\n - > Currently the relocation feature is unimplemented and setting this function has no effect.\r\n\r\n - Otherwise potentially usable if mdb_set_relctx is co-opted for internal use (see the implementation of Env.ReaderList)\r\n\r\n - I don't have a good understanding of when this would be usable or if Go is usable in such environments.\r\n\r\n&ast; -- It's currently unclear what benefits this brings\r\n&ast;&ast; -- If this can be achieved it will not be trivial for users to instrument\r\n\r\nUnusable flags:\r\n==\r\n\r\n- [ ] **`MDB_INTEGERKEY`**/**`MDB_INTEGERDUP`** (#11)"},"comment":{"url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/comments/152782169","html_url":"https://github.com/bmatsuo/lmdb-go/issues/1#issuecomment-152782169","issue_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/1","id":152782169,"user":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T00:03:44Z","updated_at":"2015-11-01T00:03:44Z","body":"Re: mdb_set_relfunc/mdb_set_relctx\r\n\r\nThis feature is not implemented yet in LMDB\r\n\r\n> Currently the relocation feature is unimplemented and setting this function has no effect.\r\n\r\nIt looks like its technically possible to bind the API, though. The ctx function would likely have to be co-opted as is done for mdb_reader_list.\r\n\r\nThough I don't have a good understanding of when this would be usable or if Go is usable in such environments. And the feature really shouldn't be implemented until there is some understanding of that."}}