[PATCH] add missing "USING bloom" into bloom extension documentation

Started by Nikolay Shaplovover 9 years ago2 messages
#1Nikolay Shaplov
n.shaplov@postgrespro.ru
1 attachment(s)

In current bloom documentation an example

CREATE INDEX bloomidx ON tbloom(i1,i2,i3)
WITH (length=5, col1=2, col2=2, col3=4);

does not work, as it does not actually create a bloom index

you should add "USING bloom" to the insert statement, in order make this
example work.

Patch in the attachment fixes an example. Please commit it ;-)

--
Nikolay Shaplov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachments:

add-missing-using-bloom.difftext/x-patch; charset=UTF-8; name=add-missing-using-bloom.diffDownload
diff --git a/doc/src/sgml/bloom.sgml b/doc/src/sgml/bloom.sgml
index 7349095..ab84b69 100644
--- a/doc/src/sgml/bloom.sgml
+++ b/doc/src/sgml/bloom.sgml
@@ -76,7 +76,7 @@
   </para>
 
 <programlisting>
-CREATE INDEX bloomidx ON tbloom(i1,i2,i3) 
+CREATE INDEX bloomidx ON tbloom USING bloom (i1,i2,i3)
        WITH (length=5, col1=2, col2=2, col3=4);
 </programlisting>
 
#2Teodor Sigaev
teodor@sigaev.ru
In reply to: Nikolay Shaplov (#1)
Re: [PATCH] add missing "USING bloom" into bloom extension documentation

you should add "USING bloom" to the insert statement, in order make this
example work.

Patch in the attachment fixes an example. Please commit it ;-)

Thank you, applied
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/

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