{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments/51649304","id":51649304,"diff_hunk":"@@ -138,16 +138,51 @@ alter table test_schema.p exchange partition p1 with table hcatalog.test_schema.\n select pg_catalog.pg_database_size('hcatalog');\n select pg_catalog.pg_database_size(6120);\n \n+--positive test: should be able to create table named \"hcatalog\"\n+CREATE TABLE hcatalog(a int);\n+\n+--negative test: cannot create database named \"hcatalog\"\n+CREATE DATABASE hcatalog;\n+\n+--allow renaming schemas and databases","path":"src/test/regress/input/hcatalog_lookup.source","position":10,"original_position":10,"commit_id":"f63652ab99cc3d4f3568849201b497dc83fc1291","original_commit_id":"f63652ab99cc3d4f3568849201b497dc83fc1291","user":{"login":"GodenYao","id":3410963,"avatar_url":"https://avatars.githubusercontent.com/u/3410963?v=3","gravatar_id":"","url":"https://api.github.com/users/GodenYao","html_url":"https://github.com/GodenYao","followers_url":"https://api.github.com/users/GodenYao/followers","following_url":"https://api.github.com/users/GodenYao/following{/other_user}","gists_url":"https://api.github.com/users/GodenYao/gists{/gist_id}","starred_url":"https://api.github.com/users/GodenYao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GodenYao/subscriptions","organizations_url":"https://api.github.com/users/GodenYao/orgs","repos_url":"https://api.github.com/users/GodenYao/repos","events_url":"https://api.github.com/users/GodenYao/events{/privacy}","received_events_url":"https://api.github.com/users/GodenYao/received_events","type":"User","site_admin":false},"body":"comment is misleading. should be \"allow renaming schemas but not databases\"","created_at":"2016-02-02T22:46:23Z","updated_at":"2016-02-02T22:46:23Z","html_url":"https://github.com/apache/incubator-hawq/pull/324#discussion_r51649304","pull_request_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/324","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments/51649304"},"html":{"href":"https://github.com/apache/incubator-hawq/pull/324#discussion_r51649304"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/324"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-hawq/pulls/324","id":58061374,"html_url":"https://github.com/apache/incubator-hawq/pull/324","diff_url":"https://github.com/apache/incubator-hawq/pull/324.diff","patch_url":"https://github.com/apache/incubator-hawq/pull/324.patch","issue_url":"https://api.github.com/repos/apache/incubator-hawq/issues/324","number":324,"state":"open","locked":false,"title":"HAWQ-369. Hcatalog as reserved name.","user":{"login":"sansanichfb","id":2278956,"avatar_url":"https://avatars.githubusercontent.com/u/2278956?v=3","gravatar_id":"","url":"https://api.github.com/users/sansanichfb","html_url":"https://github.com/sansanichfb","followers_url":"https://api.github.com/users/sansanichfb/followers","following_url":"https://api.github.com/users/sansanichfb/following{/other_user}","gists_url":"https://api.github.com/users/sansanichfb/gists{/gist_id}","starred_url":"https://api.github.com/users/sansanichfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sansanichfb/subscriptions","organizations_url":"https://api.github.com/users/sansanichfb/orgs","repos_url":"https://api.github.com/users/sansanichfb/repos","events_url":"https://api.github.com/users/sansanichfb/events{/privacy}","received_events_url":"https://api.github.com/users/sansanichfb/received_events","type":"User","site_admin":false},"body":"@shivzone @hornn ","created_at":"2016-02-02T22:32:42Z","updated_at":"2016-02-02T22:46:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2f2493e99d7007642704840ac40e64ca1dc41d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/324/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/324/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/issues/324/comments","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/f63652ab99cc3d4f3568849201b497dc83fc1291","head":{"label":"apache:HAWQ-369","ref":"HAWQ-369","sha":"f63652ab99cc3d4f3568849201b497dc83fc1291","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":41952293,"name":"incubator-hawq","full_name":"apache/incubator-hawq","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-hawq","description":"Mirror of Apache HAWQ (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-hawq","forks_url":"https://api.github.com/repos/apache/incubator-hawq/forks","keys_url":"https://api.github.com/repos/apache/incubator-hawq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-hawq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-hawq/teams","hooks_url":"https://api.github.com/repos/apache/incubator-hawq/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-hawq/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-hawq/events","assignees_url":"https://api.github.com/repos/apache/incubator-hawq/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-hawq/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-hawq/tags","blobs_url":"https://api.github.com/repos/apache/incubator-hawq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-hawq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-hawq/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-hawq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-hawq/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-hawq/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-hawq/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-hawq/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-hawq/subscription","commits_url":"https://api.github.com/repos/apache/incubator-hawq/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-hawq/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-hawq/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-hawq/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-hawq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-hawq/merges","archive_url":"https://api.github.com/repos/apache/incubator-hawq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-hawq/downloads","issues_url":"https://api.github.com/repos/apache/incubator-hawq/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-hawq/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-hawq/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-hawq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-hawq/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-hawq/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-hawq/deployments","created_at":"2015-09-05T07:00:05Z","updated_at":"2016-02-01T06:48:13Z","pushed_at":"2016-02-02T22:32:42Z","git_url":"git://github.com/apache/incubator-hawq.git","ssh_url":"git@github.com:apache/incubator-hawq.git","clone_url":"https://github.com/apache/incubator-hawq.git","svn_url":"https://github.com/apache/incubator-hawq","homepage":null,"size":148698,"stargazers_count":103,"watchers_count":103,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":"git://git.apache.org/incubator-hawq.git","open_issues_count":13,"forks":90,"open_issues":13,"watchers":103,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"f08b5e6c64387bc6067f1a45ceec1c50b3b1ce8d","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":41952293,"name":"incubator-hawq","full_name":"apache/incubator-hawq","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-hawq","description":"Mirror of Apache HAWQ (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-hawq","forks_url":"https://api.github.com/repos/apache/incubator-hawq/forks","keys_url":"https://api.github.com/repos/apache/incubator-hawq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-hawq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-hawq/teams","hooks_url":"https://api.github.com/repos/apache/incubator-hawq/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-hawq/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-hawq/events","assignees_url":"https://api.github.com/repos/apache/incubator-hawq/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-hawq/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-hawq/tags","blobs_url":"https://api.github.com/repos/apache/incubator-hawq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-hawq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-hawq/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-hawq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-hawq/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-hawq/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-hawq/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-hawq/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-hawq/subscription","commits_url":"https://api.github.com/repos/apache/incubator-hawq/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-hawq/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-hawq/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-hawq/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-hawq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-hawq/merges","archive_url":"https://api.github.com/repos/apache/incubator-hawq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-hawq/downloads","issues_url":"https://api.github.com/repos/apache/incubator-hawq/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-hawq/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-hawq/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-hawq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-hawq/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-hawq/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-hawq/deployments","created_at":"2015-09-05T07:00:05Z","updated_at":"2016-02-01T06:48:13Z","pushed_at":"2016-02-02T22:32:42Z","git_url":"git://github.com/apache/incubator-hawq.git","ssh_url":"git@github.com:apache/incubator-hawq.git","clone_url":"https://github.com/apache/incubator-hawq.git","svn_url":"https://github.com/apache/incubator-hawq","homepage":null,"size":148698,"stargazers_count":103,"watchers_count":103,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":"git://git.apache.org/incubator-hawq.git","open_issues_count":13,"forks":90,"open_issues":13,"watchers":103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/324"},"html":{"href":"https://github.com/apache/incubator-hawq/pull/324"},"issue":{"href":"https://api.github.com/repos/apache/incubator-hawq/issues/324"},"comments":{"href":"https://api.github.com/repos/apache/incubator-hawq/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-hawq/statuses/f63652ab99cc3d4f3568849201b497dc83fc1291"}}}}