handle hstore type
authorJason Etheridge <jason@esilibrary.com>
Tue, 23 Jul 2013 20:39:22 +0000 (16:39 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 23 Jul 2013 20:39:22 +0000 (16:39 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/make-pgtap-tests.pl

index b5665e6..7313175 100755 (executable)
@@ -89,6 +89,9 @@ foreach my $schema ( @schemas ) {
             }
             if ($col_type eq 'USER-DEFINED' && defined $col_udt_schema) {
                 $col_type = "$col_udt_schema.$col_udt_name";
+                if ($col_type eq 'public.hstore') {
+                    $col_type = 'hstore'; # an exception
+                }
             }
             if ($col_type eq 'character' && defined $col_character_maximum_length) {
                 $col_type .= "($col_character_maximum_length)";