summaryrefslogtreecommitdiff
path: root/doc/src/sgml/intarray.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2010-07-29 19:34:37 +0000
committerPeter Eisentraut <peter_e@gmx.net>2010-07-29 19:34:37 +0000
commit85084020be03b93f8c54e8491fdd34aa4265145f (patch)
treec8a56081a2bc8bf10a11b3cc71000df56e9f6db5 /doc/src/sgml/intarray.sgml
parentc04b3f45b9f9c963d8d008d93651fec6a4abf66e (diff)
Fix indentation of verbatim block elements
Block elements with verbatim formatting (literallayout, programlisting, screen, synopsis) should be aligned at column 0 independent of the surrounding SGML, because whitespace is significant, and indenting them creates erratic whitespace in the output. The CSS stylesheets already take care of indenting the output. Assorted markup improvements to go along with it.
Diffstat (limited to 'doc/src/sgml/intarray.sgml')
-rw-r--r--doc/src/sgml/intarray.sgml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/src/sgml/intarray.sgml b/doc/src/sgml/intarray.sgml
index 8dda468fe36..0f304a403f2 100644
--- a/doc/src/sgml/intarray.sgml
+++ b/doc/src/sgml/intarray.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/intarray.sgml,v 1.10 2010/05/05 15:10:25 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/intarray.sgml,v 1.10.2.1 2010/07/29 19:34:36 petere Exp $ -->
<sect1 id="intarray">
<title>intarray</title>
@@ -271,7 +271,7 @@
<sect2>
<title>Example</title>
- <programlisting>
+<programlisting>
-- a message can be in one or more <quote>sections</>
CREATE TABLE message (mid INT PRIMARY KEY, sections INT[], ...);
@@ -286,7 +286,7 @@ SELECT message.mid FROM message WHERE message.sections @&gt; '{1,2}';
-- the same, using QUERY operator
SELECT message.mid FROM message WHERE message.sections @@ '1&amp;2'::query_int;
- </programlisting>
+</programlisting>
</sect2>
<sect2>
@@ -297,13 +297,13 @@ SELECT message.mid FROM message WHERE message.sections @@ '1&amp;2'::query_int;
benchmark test suite. To run:
</para>
- <programlisting>
- cd .../bench
- createdb TEST
- psql TEST &lt; ../_int.sql
- ./create_test.pl | psql TEST
- ./bench.pl
- </programlisting>
+<programlisting>
+cd .../bench
+createdb TEST
+psql TEST &lt; ../_int.sql
+./create_test.pl | psql TEST
+./bench.pl
+</programlisting>
<para>
The <filename>bench.pl</> script has numerous options, which