Re: Does converting an indexed varchar to text rewrite its index? Docs say so, tests say no.

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Mike Lissner <mlissner(at)michaeljaylissner(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Does converting an indexed varchar to text rewrite its index? Docs say so, tests say no.
Date: 2020-01-24 13:46:58
Message-ID: 930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2020-01-23 at 08:55 -0800, Mike Lissner wrote:
> I think the docs say that if you convert a varchar to text, it'll rewrite the index,
> but my test doesn't seem to indicate that. Is the test or the documentation wrong?
>
> If the docs, I'll be happy to make a fix my first contribution to postgresql. :)
>
> Here are the docs:
>
> (https://www.postgresql.org/docs/10/sql-altertable.html)

We'd be happy about a documentation patch.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phil Fisher 2020-01-24 14:40:24 Re: Clarification of documentation detail for upgrading minor version
Previous Message Tanja Savic 2020-01-24 10:31:53 RE: PostgresSQL 10 on remote server - Socket is not connected (0x00002749/10057)