mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Write error messages about duplicate OIDs to stderr
This commit is contained in:
parent
33a1c2145c
commit
c5679256e9
@ -137,8 +137,8 @@ my $found = 0;
|
||||
foreach my $oid (keys %oidcounts)
|
||||
{
|
||||
next unless $oidcounts{$oid} > 1;
|
||||
print "Duplicate oids detected:\n" if !$found;
|
||||
print "$oid\n";
|
||||
print STDERR "Duplicate OIDs detected:\n" if !$found;
|
||||
print STDERR "$oid\n";
|
||||
$found++;
|
||||
}
|
||||
die "found $found duplicate OID(s) in catalog data\n" if $found;
|
||||
|
Loading…
Reference in New Issue
Block a user