pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrien Nayrat <adrien.nayrat@anayrat.info>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: ALTER INDEX ... ALTER COLUMN not present in dump
Date: Wed, 21 Nov 2018 09:09:36 +0100
Message-ID: <e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info> (raw)
In-Reply-To: <20181121000417.GC1951@paquier.xyz>
References: <CAARsnT3UQ4V=yDNW468w8RqHfYiY9mpn2r_c5UkBJ97NAApUEw@mail.gmail.com>
	<4498621542278682@iva3-0d9a30469759.qloud-c.yandex.net>
	<CAARsnT1bK2473gUq09GZXVdn7nCE3eSSgSfsxFzYHgADCEhoUA@mail.gmail.com>
	<4847941542280801@iva7-4f557d6b60d4.qloud-c.yandex.net>
	<2b5f4be0-9a67-a5d7-4561-09871378a991@anayrat.info>
	<20181115224601.GB6613@paquier.xyz>
	<20181116004505.GC6613@paquier.xyz>
	<20181116083252.GF6613@paquier.xyz>
	<20181116133103.GA3427@paquier.xyz>
	<20181121000417.GC1951@paquier.xyz>

On 11/21/18 1:04 AM, Michael Paquier wrote:
> On Fri, Nov 16, 2018 at 10:31:03PM +0900, Michael Paquier wrote:
>> On Fri, Nov 16, 2018 at 05:32:52PM +0900, Michael Paquier wrote:
>>> And here you go as attached.  Looking closer, in v10 and older versions,
>>> ALTER INDEX SET STATISTICS is able to work as it is an alias of ALTER
>>> TABLE.  The attached patch does not bother generating the ALTER INDEX
>>> queries for v10 and older and feeds queries with empty strings.  Perhaps
>>> we should support that case?  Or the lack of complains would be an
>>> argument sufficient to care only about v11 and newer versions?  I would
>>> tend to think that supporting only v11 and above is enough.  Thoughts
>>> are welcome.
> 
> So, any thoughts about this patch?  I would still like to move on with
> only supporting this set of queries only for v11 and above as that gets
> only clearly documented on the ALTER INDEX page from that point.
> --
> Michael
> 


Sorry, I will try to look at this soon, but it is relatively new for me.
At least, someone else with more knowledge should also look.

Thanks to address this issue.

Attachments:

  signature.asc (application/pgp-signature, 487B) download

view thread (28+ messages)  latest in thread

Message-ID: <e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info>
Permalink:  ../e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info/
Also on:    postgresql.org/message-id/e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info

 · 

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-bugs@postgresql.org
  Cc: adrien.nayrat@anayrat.info, michael@paquier.xyz
  Subject: Re: ALTER INDEX ... ALTER COLUMN not present in dump
  In-Reply-To: <e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info>
  References: <CAARsnT3UQ4V=yDNW468w8RqHfYiY9mpn2r_c5UkBJ97NAApUEw@mail.gmail.com> <4498621542278682@iva3-0d9a30469759.qloud-c.yandex.net> <CAARsnT1bK2473gUq09GZXVdn7nCE3eSSgSfsxFzYHgADCEhoUA@mail.gmail.com> <4847941542280801@iva7-4f557d6b60d4.qloud-c.yandex.net> <2b5f4be0-9a67-a5d7-4561-09871378a991@anayrat.info> <20181115224601.GB6613@paquier.xyz> <20181116004505.GC6613@paquier.xyz> <20181116083252.GF6613@paquier.xyz> <20181116133103.GA3427@paquier.xyz> <20181121000417.GC1951@paquier.xyz> <e5632dc9-feac-cb02-26ec-d6aaf55a666e@anayrat.info>

* 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