pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Mike Lissner <mlissner@michaeljaylissner.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Does converting an indexed varchar to text rewrite its index? Docs say so, tests say no.
Date: Fri, 24 Jan 2020 14:46:58 +0100
Message-ID: <930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at> (raw)
In-Reply-To: <CAMp9=ExXtH0NeF+LTsNrew_oXycAJTNVKbRYnqgoEAT01t=67A@mail.gmail.com>
References: <CAMp9=ExXtH0NeF+LTsNrew_oXycAJTNVKbRYnqgoEAT01t=67A@mail.gmail.com>

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






view thread (9+ messages)

Message-ID: <930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at>
Permalink:  ../930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at/
Also on:    postgresql.org/message-id/930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, mlissner@michaeljaylissner.com
  Subject: Re: Does converting an indexed varchar to text rewrite its index? Docs say so, tests say no.
  In-Reply-To: <930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at>
  References: <CAMp9=ExXtH0NeF+LTsNrew_oXycAJTNVKbRYnqgoEAT01t=67A@mail.gmail.com> <930f256d79d92d07db9dd9f7415f688c35631025.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox