From 8f4fddbaa123a4baee6fb1df4d2abf857f22a04c Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 22 Jun 2003 09:11:11 +0000 Subject: [PATCH] skip pg_ tables also (ewww, showing up in reverse-engineered schema) --- bin/create-history-tables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/create-history-tables b/bin/create-history-tables index 8d419d287..39248bf3f 100755 --- a/bin/create-history-tables +++ b/bin/create-history-tables @@ -18,7 +18,7 @@ my $schema = dbdef(); #false laziness w/fs-setup my @tables = scalar(@ARGV) ? @ARGV - : grep { ! /^h_/ } $schema->tables; + : grep { ! /^(h|pg)_/ } $schema->tables; foreach my $table ( @tables ) { next if grep { /^h_$table/ } $schema->tables; warn "creating history table for $table\n"; -- 2.11.0