projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b17d55
)
handle ARRAY type
author
Jason Etheridge
<jason@esilibrary.com>
Tue, 23 Jul 2013 20:29:27 +0000
(16:29 -0400)
committer
Jason Etheridge
<jason@esilibrary.com>
Tue, 23 Jul 2013 20:29:27 +0000
(16:29 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/make-pgtap-tests.pl
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/make-pgtap-tests.pl
b/Open-ILS/src/sql/Pg/make-pgtap-tests.pl
index
983efca
..
8f0f915
100755
(executable)
--- a/
Open-ILS/src/sql/Pg/make-pgtap-tests.pl
+++ b/
Open-ILS/src/sql/Pg/make-pgtap-tests.pl
@@
-90,6
+90,9
@@
foreach my $schema ( @schemas ) {
if ($col_type eq 'character' && defined $col_character_maximum_length) {
$col_type .= "($col_character_maximum_length)";
}
+ if ($col_type eq 'ARRAY' && defined $col_udt_name) {
+ $col_type = substr($col_udt_name,1) . '[]';
+ }
print "\n-- -- -- column " . $dbh->quote("$schema.$table.$column") . "\n\n";
print "SELECT has_column(\n";