Hi,

This patch adds an empty row before each section header
in the error codes table in the docs.

I tried not putting an empty row before the first
section, but it looks better to always have
an empty row.  IMO.

File: errorcode_table.patch

Applies against head.

Regards,

Karl <k...@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

diff --git a/doc/src/sgml/generate-errcodes-table.pl b/doc/src/sgml/generate-errcodes-table.pl
index b9c14d3..3fdc9d8 100644
--- a/doc/src/sgml/generate-errcodes-table.pl
+++ b/doc/src/sgml/generate-errcodes-table.pl
@@ -32,6 +32,12 @@ while (<$errcodes>)
 		# Wrap PostgreSQL in <productname/>
 		s/PostgreSQL/<productname>PostgreSQL<\/>/g;
 
+		# Leave an empty row to help distinguish sections.
+		print "\n\n";
+		print "<row>\n";
+		print "<entry spanname=\"span12\"></entry>";
+		print "</row>\n";
+
 		print "\n\n";
 		print "<row>\n";
 		print "<entry spanname=\"span12\">";

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to