aboutsummaryrefslogtreecommitdiff
path: root/src/include/catalog/renumber_oids.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/catalog/renumber_oids.pl')
-rwxr-xr-xsrc/include/catalog/renumber_oids.pl15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/include/catalog/renumber_oids.pl b/src/include/catalog/renumber_oids.pl
index ee6409b57f6..bd99426c92f 100755
--- a/src/include/catalog/renumber_oids.pl
+++ b/src/include/catalog/renumber_oids.pl
@@ -61,7 +61,7 @@ if ($output_path ne '' && substr($output_path, -1) ne '/')
}
# Collect all the existing assigned OIDs (including those to be remapped).
-my @header_files = (glob("pg_*.h"), qw(indexing.h));
+my @header_files = glob("pg_*.h");
my $oids = Catalog::FindAllOidsFromHeaders(@header_files);
# Hash-ify the existing OIDs for convenient lookup.
@@ -173,19 +173,6 @@ foreach my $input_file (@header_files)
}
}
- # In indexing.h only, check for #define SYM nnnn,
- # and replace if within mapped range.
- elsif ($line =~ m/^(\s*#\s*define\s+\w+\s+)(\d+)\b/)
- {
- if (($catname eq 'indexing' || $catname eq 'toasting')
- && exists $maphash{$2})
- {
- my $repl = $1 . $maphash{$2};
- $line =~ s/^\s*#\s*define\s+\w+\s+\d+\b/$repl/;
- $changed = 1;
- }
- }
-
print $ofd $line;
}