Re: pg_restore encounter deadlock since PostgreSQL bringing up - Mailing list pgsql-general

From zh1029
Subject Re: pg_restore encounter deadlock since PostgreSQL bringing up
Date
Msg-id 1447743431496-5874160.post@n5.nabble.com
Whole thread Raw
In response to Re: pg_restore encounter deadlock since PostgreSQL bringing up  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hi,
  Per my understanding,  From the query which resulted in the deadlock
“SELECT sequence_name, start_value, increment_by***********”, it appears
that the query which holds the lock is related to sequence numbers. From our
understanding it appears that, whenever there is a serial type of data
member, PostgreSQL internally needs to keep track of sequence numbers across
the dump and restore. Is it possible select query is triggered by PostgreSQL
bringing up(to bring up internal database) instead of dump file? because
from the log, it looks failed while doing DROP SCHEMA public CASCADE.



--
View this message in context:
http://postgresql.nabble.com/pg-restore-encounter-deadlock-since-PostgreSQL-bringing-up-tp5874146p5874160.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: zh1029
Date:
Subject: Re: pg_restore encounter deadlock since PostgreSQL bringing up
Next
From: John R Pierce
Date:
Subject: Re: pg_restore encounter deadlock since PostgreSQL bringing up