Re: pg_restore encounter deadlock since PostgreSQL bringing up

From: zh1029 <zh1029(at)sina(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore encounter deadlock since PostgreSQL bringing up
Date: 2015-11-17 06:57:11
Message-ID: 1447743431496-5874160.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-11-17 07:02:12 Re: pg_restore encounter deadlock since PostgreSQL bringing up
Previous Message zh1029 2015-11-17 06:55:22 Re: pg_restore encounter deadlock since PostgreSQL bringing up