aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-02-25 12:00:29 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-02-25 12:00:29 +0100
commitb6926dee0e1304368964e1161bfd60dd4b01b25d (patch)
tree5c01511cdc80cdb6d2bd7a18adcaffea1aa1da1b /src
parentbc09d5e4cc1813c9af60c4537fe7d70ed1baae11 (diff)
downloadpostgresql-b6926dee0e1304368964e1161bfd60dd4b01b25d.tar.gz
postgresql-b6926dee0e1304368964e1161bfd60dd4b01b25d.zip
psql: Remove obsolete code
The check in create_help.pl for a null end tag (</>) has been obsolete since the conversion from SGML to XML, since XML does not allow that anymore.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/create_help.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/psql/create_help.pl b/src/bin/psql/create_help.pl
index 314bb5d87c5..96cf3d37ef0 100644
--- a/src/bin/psql/create_help.pl
+++ b/src/bin/psql/create_help.pl
@@ -128,8 +128,6 @@ foreach my $file (sort readdir DIR)
my $nl_count = () = $cmdsynopsis =~ /\n/g;
- $cmdsynopsis =~ m!</>!
- and die "$0: $file: null end tag not supported in synopsis\n";
$cmdsynopsis =~ s/%/%%/g;
while ($cmdsynopsis =~ m!<(\w+)[^>]*>(.+?)</\1[^>]*>!)