Re: "Create index" lock type - Mailing list pgsql-novice

From David G. Johnston
Subject Re: "Create index" lock type
Date
Msg-id CAKFQuwandQ-4pjUwKds+kk87x7LH3EfeyNncpvjG3xb0_0kvLg@mail.gmail.com
Whole thread Raw
In response to "Create index" lock type  ("Greg Rychlewski (LCL)" <Greg.Rychlewski@loblaw.ca>)
List pgsql-novice
On Tuesday, July 14, 2020, Greg Rychlewski (LCL) <Greg.Rychlewski@loblaw.ca> wrote:

What kind of lock does the  “create index” (not concurrent) command take? From the documentation, it says that it blocks out writes. But I’m not sure how to find the exact lock type in the documentation.

 

The reason I’m asking is because I’m trying to see if it conflicts with the lock taken by autovacuum (to prevent wraparound), “SHARE UPDATE EXCLUSIVE”.

Share


David J.

pgsql-novice by date:

Previous
From: "Greg Rychlewski (LCL)"
Date:
Subject: "Create index" lock type
Next
From: Devraj B
Date:
Subject: How to connect PostgreSQL (9.6.17) database from Macbook Pro Terminal using JumpCloud password?