Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pg_chameleon/lib/pg_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def __create_indices(self):
THEN
format('ALTER TABLE %%I ADD CONSTRAINT %%I %%s ;',tab.relname,con.conname,pg_get_constraintdef(con.oid))
ELSE
format('%%s ;',regexp_replace(pg_get_indexdef(idx.oid), '("?\w+"?\.)', ''))
format('%%s ;',regexp_replace(pg_get_indexdef(idx.oid), '("?\\w+"?\\.)', ''))
END AS ddl_text,
CASE
WHEN con.conname IS NOT NULL
Expand Down