{"action":"created","issue":{"url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/35","labels_url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/35/comments","events_url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/35/events","html_url":"https://github.com/2ndQuadrant/repmgr/issues/35","id":43480506,"number":35,"title":"repmgr fails to rsync PostgreSQL 9.4's `pg_logical` directory","user":{"login":"ringerc","id":274337,"avatar_url":"https://avatars.githubusercontent.com/u/274337?v=3","gravatar_id":"","url":"https://api.github.com/users/ringerc","html_url":"https://github.com/ringerc","followers_url":"https://api.github.com/users/ringerc/followers","following_url":"https://api.github.com/users/ringerc/following{/other_user}","gists_url":"https://api.github.com/users/ringerc/gists{/gist_id}","starred_url":"https://api.github.com/users/ringerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringerc/subscriptions","organizations_url":"https://api.github.com/users/ringerc/orgs","repos_url":"https://api.github.com/users/ringerc/repos","events_url":"https://api.github.com/users/ringerc/events{/privacy}","received_events_url":"https://api.github.com/users/ringerc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-09-22T13:13:06Z","updated_at":"2015-10-05T23:37:52Z","closed_at":"2014-09-22T13:15:28Z","body":"Per  [this user report on stack overflow](http://stackoverflow.com/q/25972351/398670), repmgr fails to rsync `pg_logical` when making a copy for a new replica with `repmgr standby clone`.\r\n\r\nMarco identified the bug as a missing `/` here:\r\n\r\nhttps://github.com/2ndQuadrant/repmgr/blob/REL2_0_STABLE/repmgr.c#L1895\r\n\r\nthat causes the exclusion of `pg_log` to unwittingly mach `pg_logical` too.\r\n\r\nIt's fixed in master already."},"comment":{"url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/comments/145698776","html_url":"https://github.com/2ndQuadrant/repmgr/issues/35#issuecomment-145698776","issue_url":"https://api.github.com/repos/2ndQuadrant/repmgr/issues/35","id":145698776,"user":{"login":"martinmarques","id":4430322,"avatar_url":"https://avatars.githubusercontent.com/u/4430322?v=3","gravatar_id":"","url":"https://api.github.com/users/martinmarques","html_url":"https://github.com/martinmarques","followers_url":"https://api.github.com/users/martinmarques/followers","following_url":"https://api.github.com/users/martinmarques/following{/other_user}","gists_url":"https://api.github.com/users/martinmarques/gists{/gist_id}","starred_url":"https://api.github.com/users/martinmarques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinmarques/subscriptions","organizations_url":"https://api.github.com/users/martinmarques/orgs","repos_url":"https://api.github.com/users/martinmarques/repos","events_url":"https://api.github.com/users/martinmarques/events{/privacy}","received_events_url":"https://api.github.com/users/martinmarques/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T23:37:52Z","updated_at":"2015-10-05T23:37:52Z","body":"That has nothing to do with repmgr, and repmgr will not fix your problem.\r\n\r\nI suggest you ask in the postgresql-general list, but IMO you have some serious data corruption.\r\n\r\nRegards,"}}