From 4c9ba6494ef0e8d345d6b4d6c10b1b640c5516e9 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 24 Aug 2010 17:34:42 +0000 Subject: [PATCH] Allow both single and double quotes for ENUM values (even though we should standardize on one or the other) --- maintenance/postgres/compare_schemas.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/postgres/compare_schemas.pl b/maintenance/postgres/compare_schemas.pl index a13f27c6a3..e91a309616 100644 --- a/maintenance/postgres/compare_schemas.pl +++ b/maintenance/postgres/compare_schemas.pl @@ -43,7 +43,7 @@ tinytext mediumtext text char varchar varbinary binary timestamp datetime tinyblob mediumblob blob ); -$datatype .= q{|ENUM\([\"\w, ]+\)}; +$datatype .= q{|ENUM\([\"\w\', ]+\)}; $datatype = qr{($datatype)}; my $typeval = qr{(\(\d+\))?}; -- 2.20.1