Revision 8379
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/sql.py | ||
---|---|---|
598 | 598 |
name, type_ = match.groups() |
599 | 599 |
raise InvalidTypeException(type_, name, e) |
600 | 600 |
|
601 |
typed_name_re = r'^(\S+) "?(.+?)"?(?: of relation ".+?")?'
|
|
601 |
typed_name_re = r'^(\S+) "(.+?)"(?: of relation ".+?")?'
|
|
602 | 602 |
|
603 | 603 |
match = re.match(typed_name_re+r'.*? already exists', msg) |
604 | 604 |
if match: |
Also available in: Unified diff
lib/sql.py: parse_exception(): typed_name_re: Fixed bug where need to require the "" around the table/column name, because otherwise, the regexp will try to match as few characters as possible, causing it to match only the first letter of the name