8 @ARGV = (glob("pg_*.h"), qw(indexing.h toasting.h));
15 next if /^CATALOG\(.*BKI_BOOTSTRAP/;
17 unless /^DATA\(insert *OID *= *(\d+)/
18 || /^CATALOG\([^,]*, *(\d+).*BKI_ROWTYPE_OID\((\d+)\)/
19 || /^CATALOG\([^,]*, *(\d+)/
20 || /^DECLARE_INDEX\([^,]*, *(\d+)/
21 || /^DECLARE_UNIQUE_INDEX\([^,]*, *(\d+)/
22 || /^DECLARE_TOAST\([^,]*, *(\d+), *(\d+)/;
24 $oidcounts{$2}++ if $2;
29 foreach my $oid (sort { $a <=> $b } keys %oidcounts)
31 next unless $oidcounts{$oid} > 1;