Re: dealing with lock

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: dealing with lock
Date: 2018-04-07 06:00:29
Message-ID: pa9mlr$rnb$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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-null-default/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Poty 2018-04-07 07:56:45 Re: dealing with lock
Previous Message Ravi Krishna 2018-04-06 23:09:45 Re: FDW with DB2