Re: CREATE OR REPLACE FUNCTION statement just sitting there

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: CREATE OR REPLACE FUNCTION statement just sitting there
Date: 2018-11-06 11:34:29
Message-ID: 20181106113429.eckik5dtmspck4lz@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2018-Nov-05, Ron wrote:

> That (plus pg_locks)  is the heart of the "list all blocking queries"
> statement I copied from https://wiki.postgresql.org/wiki/Lock_Monitoring.

On that page there's a note about 9.6. Did you see the referenced
commit
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=52f5d578d6c29bf254e93c69043b817d4047ca67
? Maybe see about using the "pg_blocking_pids(int) returns int[]"
function instead.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2018-11-06 11:47:01 Re: Trouble Upgrading Postgres
Previous Message Laurenz Albe 2018-11-06 11:05:36 Re: CREATE OR REPLACE FUNCTION statement just sitting there