Re: dealing with lock - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: dealing with lock
Date
Msg-id pa9mlr$rnb$1@blaine.gmane.org
Whole thread Raw
In response to Re: dealing with lock  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: dealing with lock
List 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
itsindexes 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/




pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: FDW with DB2
Next
From: Thomas Poty
Date:
Subject: Re: dealing with lock