pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: dealing with lock
Date: Sat, 7 Apr 2018 08:00:29 +0200
Message-ID: <pa9mlr$rnb$1@blaine.gmane.org> (raw)
In-Reply-To: <53e9c170-f14a-e71e-b973-0325702cc6b5@aklaver.com>
References: <CAN_ctniz+nQ5ABR8=VVnbpcKVGKjtivfF1AA_u9zbN-s8BrN-Q@mail.gmail.com>
	<1523027471.3170.10.camel@cybertec.at>
	<CAN_ctnjJT1AiQoMmJ-R-4OF8aTLvEJi4L33V01DrHTWaMTrUWg@mail.gmail.com>
	<53e9c170-f14a-e71e-b973-0325702cc6b5@aklaver.com>

Adrian Klaver schrieb am 07.04.2018 um 00:02:
>> Is there a way to identify the list of statements that have to rewrite the table.
> 
> https://www.postgresql.org/docs/10/static/sql-altertable.html
> 
> Notes
> 
> "Adding a column with a DEFAULT clause or changing the type of an existing column will require the entire table and its indexes to be rewritten. 
Note that this will change with Postgres 11

https://www.depesz.com/2018/04/04/waiting-for-postgresql-11-fast-alter-table-add-column-with-a-non-n...






view thread (7+ messages)  latest in thread

Message-ID: <pa9mlr$rnb$1@blaine.gmane.org>
Permalink:  ../pa9mlr$rnb$1@blaine.gmane.org/
Also on:    postgresql.org/message-id/pa9mlr$rnb$1@blaine.gmane.org

 · 

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: spam_eater@gmx.net
  Subject: Re: dealing with lock
  In-Reply-To: <pa9mlr$rnb$1@blaine.gmane.org>
  References: <CAN_ctniz+nQ5ABR8=VVnbpcKVGKjtivfF1AA_u9zbN-s8BrN-Q@mail.gmail.com> <1523027471.3170.10.camel@cybertec.at> <CAN_ctnjJT1AiQoMmJ-R-4OF8aTLvEJi4L33V01DrHTWaMTrUWg@mail.gmail.com> <53e9c170-f14a-e71e-b973-0325702cc6b5@aklaver.com> <pa9mlr$rnb$1@blaine.gmane.org>

* 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