public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: pgrowlocks columns do not match docs: "modes" instead of "lock_type"
Date: Mon, 01 Oct 2018 09:42:08 +0000
Message-ID: <[email protected]> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/pgrowlocks.html
Description:

Hi,

The description of the pgrowlocks extension says that the function returns a
column called "lock_type". However this column is really called "modes", as
shown in contrib/pgrowlocks/pgrowlocks--1.2.sql:

CREATE FUNCTION pgrowlocks(IN relname text,
    OUT locked_row TID,     -- row TID
    OUT locker XID,     -- locking XID
    OUT multi bool,     -- multi XID?
    OUT xids xid[],     -- multi XIDs
    OUT modes text[],       -- multi XID statuses
    OUT pids INTEGER[])     -- locker's process id
RETURNS SETOF record
AS 'MODULE_PATHNAME', 'pgrowlocks'
LANGUAGE C STRICT PARALLEL SAFE;

Thanks, Chris.


view thread (2+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pgrowlocks columns do not match docs: "modes" instead of "lock_type"
  In-Reply-To: <[email protected]>

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

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