Created
April 11, 2022 13:32
-
-
Save onderkalaci/e1572b8806b330f32a20f85bac15fc69 to your computer and use it in GitHub Desktop.
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
-- weird error | |
CREATE TEXT SEARCH CONFIGURATION en ( parser = default ); | |
ALTER TEXT SEARCH CONFIGURATION en ALTER MAPPING FOR host, host WITH simple; | |
ERROR: duplicate key value violates unique constraint "pg_ts_config_map_index" | |
DETAIL: Key (mapcfg, maptokentype, mapseqno)=(25798, 6, 1) already exists. | |
-- same error, sometimes we get "ERROR: tuple already updated by self" | |
CREATE TEXT SEARCH CONFIGURATION dutch ( copy = dutch ); | |
ALTER TEXT SEARCH CONFIGURATION dutch ADD MAPPING FOR host WITH simple; | |
ERROR: duplicate key value violates unique constraint "pg_ts_config_map_index" | |
DETAIL: Key (mapcfg, maptokentype, mapseqno)=(25798, 6, 1) already exists. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment