{"action":"reopened","issue":{"url":"https://api.github.com/repos/zendframework/zend-db/issues/191","repository_url":"https://api.github.com/repos/zendframework/zend-db","labels_url":"https://api.github.com/repos/zendframework/zend-db/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-db/issues/191/comments","events_url":"https://api.github.com/repos/zendframework/zend-db/issues/191/events","html_url":"https://github.com/zendframework/zend-db/issues/191","id":189303499,"number":191,"title":"Primary keys not setting after save","user":{"login":"Sohorev","id":5729523,"avatar_url":"https://avatars.githubusercontent.com/u/5729523?v=3","gravatar_id":"","url":"https://api.github.com/users/Sohorev","html_url":"https://github.com/Sohorev","followers_url":"https://api.github.com/users/Sohorev/followers","following_url":"https://api.github.com/users/Sohorev/following{/other_user}","gists_url":"https://api.github.com/users/Sohorev/gists{/gist_id}","starred_url":"https://api.github.com/users/Sohorev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sohorev/subscriptions","organizations_url":"https://api.github.com/users/Sohorev/orgs","repos_url":"https://api.github.com/users/Sohorev/repos","events_url":"https://api.github.com/users/Sohorev/events{/privacy}","received_events_url":"https://api.github.com/users/Sohorev/received_events","type":"User","site_admin":false},"labels":[{"id":411122202,"url":"https://api.github.com/repos/zendframework/zend-db/labels/feature%20request","name":"feature request","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-15T05:30:58Z","updated_at":"2016-11-20T18:59:35Z","closed_at":null,"body":"My table 'users'  have following structure (postgree):\r\n```\r\nCREATE TABLE users\r\n(\r\n  id serial NOT NULL,\r\n  login character varying(255),\r\n  CONSTRAINT users_pkey PRIMARY KEY (id)\r\n) WITH (\r\n  OIDS=FALSE\r\n);\r\n```\r\nI am write this code\r\n```\r\n$row = new RowGateway('id', 'users', $this->getAdapter());\r\n$row->login = 'new';\r\n$row->save();\r\n```\r\nAnd I have an exeption:  While processing primary key data, a known key id was not found in the data array\r\nI try use Pdo_Pgsql and Pgsql driver\r\nPlease fix it"}}
{"actor":{"display_login":"froschdesign"}}