Re: intarray doc example fix - Mailing list pgsql-docs

From Tom Lane
Subject Re: intarray doc example fix
Date
Msg-id 109125.1622766512@sss.pgh.pa.us
Whole thread Raw
In response to intarray doc example fix  (Simon Norris <snorris@hillcrestgeo.ca>)
List pgsql-docs
Simon Norris <snorris@hillcrestgeo.ca> writes:
> I noticed a very small problem in the intarray docs example.
> Trying out the example gives below error, the example uses the wrong parameter for the given operator class:

> db=# CREATE TABLE message (mid INT PRIMARY KEY, sections INT[]);
> CREATE TABLE
> db=# CREATE INDEX message_rdtree_idx ON message USING GIST (sections gist__int_ops(siglen=32));
> ERROR:  unrecognized parameter "siglen"

Yup, that's clearly a thinko.  Will fix, thanks for noticing it!

            regards, tom lane



pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Has the Update savepoint example outlived its usefulness?
Next
From: PG Doc comments form
Date:
Subject: Typo in "13.2.3. Serializable Isolation Level"