narrow the workaround for a hard exception
authorJason Etheridge <jason@esilibrary.com>
Wed, 24 Jul 2013 19:49:20 +0000 (15:49 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 24 Jul 2013 19:49:20 +0000 (15:49 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/make-pgtap-tests.pl

index 3361559..cc3ffb9 100755 (executable)
@@ -301,7 +301,13 @@ sub handle_columns {
             } elsif ($col_type eq 'integer' && $col_default =~ '\(-?\d+\)') {
                 # FIXME - ERROR:  invalid input syntax for integer: "(-1)"
                 $fixme = '-- FIXME type 4 -- ';
-            } elsif ($col_type_original eq 'USER-DEFINED') {
+            } elsif ($col_type_original eq 'USER-DEFINED'
+                && (
+                    $col_udt_name eq 'hstore'
+                    || $col_udt_name eq 'authority_queue_queue_type'
+                    || $col_udt_name eq 'bib_queue_queue_type'
+                )
+            ) {
                 # FIXME - ERROR:  Unexpected end of string
                 $fixme = '-- FIXME type 5 -- ';
             }