From c99d5d1bcc137c15058458bbdcdd2789b56e4c66 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 7 Jun 2013 22:00:59 -0400 Subject: [PATCH] doc: Fix in markup Although the DTD technically allows this, the resulting HTML is invalid because it puts block elements inside inline elements. DocBook 5.0 also doesn't allow it anymore, so it's fair to assume that this was never really intended to work. Replace with , which is the markup used elsewhere in the documentation in similar cases. --- doc/src/sgml/textsearch.sgml | 70 ++++++++++-------------------------- 1 file changed, 19 insertions(+), 51 deletions(-) diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 53051982e2..604e54579d 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -859,10 +859,7 @@ SELECT plainto_tsquery('english', 'The Fat & Rats:C'); - -ts_rank( weights float4[], vector tsvector, - query tsquery , normalization integer ) returns float4 - + ts_rank( weights float4[], vector tsvector, query tsquery , normalization integer ) returns float4 @@ -879,10 +876,7 @@ ts_rank( weights fl - -ts_rank_cd( weights float4[], vector tsvector, - query tsquery , normalization integer ) returns float4 - + ts_rank_cd( weights float4[], vector tsvector, query tsquery , normalization integer ) returns float4 @@ -1226,9 +1220,7 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank - -tsvector || tsvector - + tsvector || tsvector @@ -1267,9 +1259,7 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank - -setweight(vector tsvector, weight "char") returns tsvector - + setweight(vector tsvector, weight "char") returns tsvector @@ -1297,9 +1287,7 @@ setweight(vector tsvector, - -length(vector tsvector) returns integer - + length(vector tsvector) returns integer @@ -1316,9 +1304,7 @@ length(vector tsvector) re - -strip(vector tsvector) returns tsvector - + strip(vector tsvector) returns tsvector @@ -1352,9 +1338,7 @@ strip(vector tsvector) ret - -tsquery && tsquery - + tsquery && tsquery @@ -1368,9 +1352,7 @@ strip(vector tsvector) ret - -tsquery || tsquery - + tsquery || tsquery @@ -1384,9 +1366,7 @@ strip(vector tsvector) ret - -!! tsquery - + !! tsquery @@ -1404,9 +1384,7 @@ strip(vector tsvector) ret - -numnode(query tsquery) returns integer - + numnode(query tsquery) returns integer @@ -1440,9 +1418,7 @@ SELECT numnode('foo & bar'::tsquery); - -querytree(query tsquery) returns text - + querytree(query tsquery) returns text @@ -1495,9 +1471,7 @@ SELECT querytree(to_tsquery('!defined')); - -ts_rewrite (query tsquery, target tsquery, substitute tsquery) returns tsquery - + ts_rewrite (query tsquery, target tsquery, substitute tsquery) returns tsquery @@ -1521,9 +1495,7 @@ SELECT ts_rewrite('a & b'::tsquery, 'a'::tsquery, 'c'::tsquery); - -ts_rewrite (query tsquery, select text) returns tsquery - + ts_rewrite (query tsquery, select text) returns tsquery @@ -3239,9 +3211,7 @@ SELECT plainto_tsquery('supernovae stars'); - -CREATE INDEX name ON table USING gist(column); - + CREATE INDEX name ON table USING gist(column); @@ -3262,9 +3232,7 @@ CREATE INDEX name ON table - -CREATE INDEX name ON table USING gin(column); - + CREATE INDEX name ON table USING gin(column); @@ -3414,7 +3382,7 @@ CREATE INDEX name ON table - \dF+ PATTERN + \dF+ PATTERN List text search configurations (add + for more detail). @@ -3455,7 +3423,7 @@ Parser: "pg_catalog.default" - \dFd+ PATTERN + \dFd+ PATTERN List text search dictionaries (add + for more detail). @@ -3486,7 +3454,7 @@ Parser: "pg_catalog.default" - \dFp+ PATTERN + \dFp+ PATTERN List text search parsers (add + for more detail). @@ -3539,7 +3507,7 @@ Parser: "pg_catalog.default" - \dFt+ PATTERN + \dFt+ PATTERN List text search templates (add + for more detail). -- GitLab