pg_lock_status not documented

Started by Martín Marquésover 14 years ago4 messagesgeneral
Jump to latest
#1Martín Marqués
martin.marques@gmail.com

I'm searching for information on pg_lock_status() function, but there
seams to be nothing in the docs. Maybe missing? Any hits, at least
what each column outputed is.

--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Martín Marqués (#1)
Re: pg_lock_status not documented

=?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= <martin.marques@gmail.com> writes:

I'm searching for information on pg_lock_status() function, but there
seams to be nothing in the docs. Maybe missing?

It's not documented because it's an internal function that you shouldn't
call directly. Look at the docs for the pg_locks view, which is the
public API.

regards, tom lane

#3Jerry Sievers
gsievers19@comcast.net
In reply to: Martín Marqués (#1)
Re: pg_lock_status not documented

Mart�n Marqu�s <martin.marques@gmail.com> writes:

I'm searching for information on pg_lock_status() function, but there
seams to be nothing in the docs. Maybe missing? Any hits, at least
what each column outputed is.

Have a look at the pg_locks view which wraps this function.

\d+ pg_locks

Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 305.321.1144

#4Martín Marqués
martin.marques@gmail.com
In reply to: Tom Lane (#2)
Re: pg_lock_status not documented

I know pg_locks, but I thought maybe pg_lock_status had some extra info.

Thanks anyway

2011/9/2 Tom Lane <tgl@sss.pgh.pa.us>:

=?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= <martin.marques@gmail.com> writes:

I'm searching for information on pg_lock_status() function, but there
seams to be nothing in the docs. Maybe missing?

It's not documented because it's an internal function that you shouldn't
call directly.  Look at the docs for the pg_locks view, which is the
public API.

                       regards, tom lane

--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador