[GENERAL] Re[2]: [GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
Thanks for advice about queries, i guess you're talking about those from page  https://wiki.postgresql.org/wiki/Lock_Monitoring . Previously, I was using "blockedby" template from pgAdmin's "Server Status". And you are absolutely right suspecting distributed transactions. The most interesting

Re: [GENERAL] hanged session on index creation

2015-10-13 Thread Tom Lane
=?UTF-8?B?TWlraGFpbA==?= writes: > I'm running supposedly an easy operation - renaming index and my session > hangs on it. pg_stat_activity shows that process is active and is waiting for > lock: > locktype ¦ relation ¦ relname ¦ virtualtransaction ¦ pid ¦ mode ¦ > granted ¦ fastpath Â

[GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
Sorry for my previous message, it went to wrong thread. Creating this as a new one. I'm running supposedly an easy operation - renaming index and my session hangs on it. pg_stat_activity shows that process is active and is waiting for lock: =# select application_name, waiting, state, query from

[GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
Hi, I'm running supposedly an easy operation - renaming index and my session hangs on it. pg_stat_activity shows that process is active and is waiting for lock: =# select application_name, waiting, state, query from pg_stat_activity where pid = 15179; application_name │ waiting │ state  │ query