[DBAL-1291] In PostgreSqlSchemaManager::_getPortableTableColumnDefinition Regex for nextval/sequence does not match Created: 03/Sep/15 Updated: 03/Sep/15
|Reporter:||Jason B||Assignee:||Benjamin Eberlei|
I ran into a schema that was showing the default value for a nextval as:
There seems to be an extra set of parentheses. I'm not sure how or why they're showing the extra set of parentheses. As far as I can tell the table column was created with BIGSERIAL. This table/schema could have originally been created in an older version of PostgreSQL.
I am suggesting we loosen up the regex to detect sequences/autoincrement
This will match 1 or 2 open parentheses.