Re: intarray doc example fix

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Norris <snorris(at)hillcrestgeo(dot)ca>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: intarray doc example fix
Date: 2021-06-04 00:28:32
Message-ID: 109125.1622766512@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Simon Norris <snorris(at)hillcrestgeo(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2021-06-04 12:34:42 Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM
Previous Message David G. Johnston 2021-06-04 00:08:55 Has the Update savepoint example outlived its usefulness?