forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed fulltext index creation logic for (babelfish-for-postgresql#2072)
This commit fixes an issue when we execute the following query to create a unique index during table creation and when we use that index name for fulltext index creation, it was failing. CREATE TABLE tableName(ID INT NOT NULL CONSTRAINT indexName PRIMARY KEY, txt TEXT); CREATE FULLTEXT INDEX ON tableName(txt) KEY INDEX indexName; GO This was failing because we were only checking for a hashed unique index name not a simple index name during fulltext index creation and hence getting exception. Issues Resolved JIRA: BABEL-4383 Signed-off-by: Roshan Kanwar [email protected]
- Loading branch information
1 parent
c57e8bc
commit af035ca
Showing
4 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters