pg_lock_status not documented

Поиск
Список
Период
Сортировка
Искать

pg_lock_status not documented

От:
Martí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

Re: pg_lock_status not documented

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
=?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?=  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

Re: pg_lock_status not documented

От:
Jerry Sievers <gsievers19@comcast.net>
Дата:
Martín Marqués  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

Re: pg_lock_status not documented

От:
Martín Marqués <martin.marques@gmail.com>
Дата:
I know pg_locks, but I thought maybe pg_lock_status had some extra info.

Thanks anyway

2011/9/2 Tom Lane :
> =?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?=  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
FAQ