From 95fcec34652fbbbb35fd78b1b14f012a35b3ec89 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Fri, 29 Jan 2010 12:05:18 -0500 Subject: Minor fix to same_schema for dead columns. Tweak tests for same. --- check_postgres.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index efba51f3e..eea9b4cc7 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4684,7 +4684,7 @@ sub check_same_schema { . q{COALESCE(numeric_precision, 0), } . q{COALESCE(numeric_scale,0) } . q{FROM information_schema.columns } - . q{ORDER BY table_schema, table_name, column_name, ordinal_position}; + . q{ORDER BY table_schema, table_name, ordinal_position, column_name}; $info = run_command($SQL, { dbuser => $opt{dbuser}[$x-1], dbnumber => $x } ); my $oldrelation = ''; my $col = 0; -- cgit v1.2.3