diff options
author | Greg Sabino Mullane | 2010-01-29 17:05:18 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-01-29 17:05:18 +0000 |
commit | 95fcec34652fbbbb35fd78b1b14f012a35b3ec89 (patch) | |
tree | 7f4b641f1c530c41eeb335c0151c5b420d652197 /check_postgres.pl | |
parent | 09d5d440285142ed9bbeca1f92c78df2a1ca0a56 (diff) |
Minor fix to same_schema for dead columns. Tweak tests for same.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |