pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Gradual migration from integer to bigint?
Date: Sat, 30 Sep 2023 23:26:14 -0500
Message-ID: <db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com> (raw)
In-Reply-To: <1635509.1696131447@sss.pgh.pa.us>
References: <CAE4DO2THV1_70g5nRWDZiJOHPP7LnSHfYGzAdiTzFiu4L+o5iA@mail.gmail.com>
	<ZRhcRnnUrGsB3p7K@momjian.us>
	<CAE4DO2QAKxNnaPO6FepV_C1B9MV3ahWADG=V+j3wprqPcxa0rg@mail.gmail.com>
	<1635509.1696131447@sss.pgh.pa.us>

On 9/30/23 22:37, Tom Lane wrote:
[snip]
> especially not a break that adds more per-row overhead.
>
> So really the only way forward for this would be to provide more
> automation for the existing conversion processes involving table
> rewrites.

When altering an unindexed INT to BIGINT, do all of the indices get rewritten?

-- 
Born in Arizona, moved to Babylonia.





view thread (12+ messages)  latest in thread

Message-ID: <db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com>
Permalink:  ../db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com/
Also on:    postgresql.org/message-id/db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com

 · 

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: ronljohnsonjr@gmail.com
  Subject: Re: Gradual migration from integer to bigint?
  In-Reply-To: <db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com>
  References: <CAE4DO2THV1_70g5nRWDZiJOHPP7LnSHfYGzAdiTzFiu4L+o5iA@mail.gmail.com> <ZRhcRnnUrGsB3p7K@momjian.us> <CAE4DO2QAKxNnaPO6FepV_C1B9MV3ahWADG=V+j3wprqPcxa0rg@mail.gmail.com> <1635509.1696131447@sss.pgh.pa.us> <db2b2a3b-3681-d052-7ce5-472027ffa404@gmail.com>

* 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