{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/5974","repository_url":"https://api.github.com/repos/greenplum-db/gpdb","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/5974/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/5974/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/5974/events","html_url":"https://github.com/greenplum-db/gpdb/pull/5974","id":368931190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTkwNzg2","number":5974,"title":"Export env variable GP_QUERY_STRING for web external table","user":{"login":"liming01","id":1654299,"node_id":"MDQ6VXNlcjE2NTQyOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1654299?v=4","gravatar_id":"","url":"https://api.github.com/users/liming01","html_url":"https://github.com/liming01","followers_url":"https://api.github.com/users/liming01/followers","following_url":"https://api.github.com/users/liming01/following{/other_user}","gists_url":"https://api.github.com/users/liming01/gists{/gist_id}","starred_url":"https://api.github.com/users/liming01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liming01/subscriptions","organizations_url":"https://api.github.com/users/liming01/orgs","repos_url":"https://api.github.com/users/liming01/repos","events_url":"https://api.github.com/users/liming01/events{/privacy}","received_events_url":"https://api.github.com/users/liming01/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-11T02:52:35Z","updated_at":"2018-10-11T16:33:00Z","closed_at":"2018-10-11T09:40:37Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/5974","html_url":"https://github.com/greenplum-db/gpdb/pull/5974","diff_url":"https://github.com/greenplum-db/gpdb/pull/5974.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/5974.patch"},"body":"This PR contains:\r\n- Export env variable GP_QUERY_STRING for web external table\r\n- Fixed error escaping format of shell command for web external table. This bug is found if the value of $GP_QUERY_STRING contains single quote (e.g. query is: SELECT * FROM t1 WHERE c1 LIKE 'GP_QUERY%').\r\n\r\nThis PR also need to be merged into 5X_STABLE branch."},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/429025337","html_url":"https://github.com/greenplum-db/gpdb/pull/5974#issuecomment-429025337","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/5974","id":429025337,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTAyNTMzNw==","user":{"login":"hlinnaka","id":191602,"node_id":"MDQ6VXNlcjE5MTYwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/191602?v=4","gravatar_id":"","url":"https://api.github.com/users/hlinnaka","html_url":"https://github.com/hlinnaka","followers_url":"https://api.github.com/users/hlinnaka/followers","following_url":"https://api.github.com/users/hlinnaka/following{/other_user}","gists_url":"https://api.github.com/users/hlinnaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hlinnaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlinnaka/subscriptions","organizations_url":"https://api.github.com/users/hlinnaka/orgs","repos_url":"https://api.github.com/users/hlinnaka/repos","events_url":"https://api.github.com/users/hlinnaka/events{/privacy}","received_events_url":"https://api.github.com/users/hlinnaka/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T16:33:00Z","updated_at":"2018-10-11T16:33:00Z","author_association":"MEMBER","body":"Come to think of it, we should probably stop using the \"export NAME=VARIABLE && ..\" chain for this. We're doing a fork+exec() anyway, so I think it would be better to use putenv() calls, after the fork but before the exec(), to set the environment variables."}}
{"actor":{"display_login":"hlinnaka"}}