pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: CREATE OR REPLACE FUNCTION statement just sitting there
Date: Tue, 6 Nov 2018 08:34:29 -0300
Message-ID: <20181106113429.eckik5dtmspck4lz@alvherre.pgsql> (raw)
In-Reply-To: <2394ea86-6a5f-ddce-8929-a37376192eaf@gmail.com>

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=52f5d578d6c29bf254e93c69043b817d4047c...
?  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




view thread (8+ messages)  latest in thread

Message-ID: <20181106113429.eckik5dtmspck4lz@alvherre.pgsql>
Permalink:  ../20181106113429.eckik5dtmspck4lz@alvherre.pgsql/
Also on:    postgresql.org/message-id/20181106113429.eckik5dtmspck4lz@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@2ndquadrant.com, ronljohnsonjr@gmail.com
  Subject: Re: CREATE OR REPLACE FUNCTION statement just sitting there
  In-Reply-To: <20181106113429.eckik5dtmspck4lz@alvherre.pgsql>
  References: <2394ea86-6a5f-ddce-8929-a37376192eaf@gmail.com> <20181106113429.eckik5dtmspck4lz@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox