[ https://issues.apache.org/jira/browse/HIVE-19862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508916#comment-16508916 ]
Daniel Dai commented on HIVE-19862: ----------------------------------- Yes, hive-schema-3.0.0.postgres.sql has the same issue. Thanks Alan! > Postgres init script has a glitch around UNIQUE_DATABASE > -------------------------------------------------------- > > Key: HIVE-19862 > URL: https://issues.apache.org/jira/browse/HIVE-19862 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore > Reporter: Daniel Dai > Assignee: Daniel Dai > Priority: Major > Attachments: HIVE-19862.1.patch, HIVE-19862.2.patch > > > {code} > ALTER TABLE ONLY "DBS" ADD CONSTRAINT "UNIQUE_DATABASE" UNIQUE ("NAME"); > {code} > Should also include "CTLG_NAME". -- This message was sent by Atlassian JIRA (v7.6.3#76005)