Rename backend_pid to pg_backend_pid, move docs to monitoring section.
This commit is contained in:
parent
9218689b69
commit
d7859a9570
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.106 2002/08/04 03:53:10 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.107 2002/08/04 19:51:30 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
@ -4353,11 +4353,6 @@ SELECT NULLIF(value, '(none)') ...
|
||||||
<entry><type>name[]</type></entry>
|
<entry><type>name[]</type></entry>
|
||||||
<entry>names of schemas in search path optionally including implicit schemas</entry>
|
<entry>names of schemas in search path optionally including implicit schemas</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
|
||||||
<entry><function>backend_pid</function>()</entry>
|
|
||||||
<entry><type>integer</type></entry>
|
|
||||||
<entry>process ID of the session backend</entry>
|
|
||||||
</row>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.9 2002/07/31 02:27:29 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.10 2002/08/04 19:51:30 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="monitoring">
|
<chapter id="monitoring">
|
||||||
|
@ -480,6 +480,14 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><function>pg_backend_pid</function>()</entry>
|
||||||
|
<entry><type>integer</type></entry>
|
||||||
|
<entry>
|
||||||
|
Process ID of the attached backend
|
||||||
|
</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry><function>pg_stat_get_backend_pid</function>(<type>integer</type>)</entry>
|
<entry><function>pg_stat_get_backend_pid</function>(<type>integer</type>)</entry>
|
||||||
<entry><type>integer</type></entry>
|
<entry><type>integer</type></entry>
|
||||||
|
|
|
@ -19,7 +19,7 @@ extern Datum pg_stat_get_blocks_fetched(PG_FUNCTION_ARGS);
|
||||||
extern Datum pg_stat_get_blocks_hit(PG_FUNCTION_ARGS);
|
extern Datum pg_stat_get_blocks_hit(PG_FUNCTION_ARGS);
|
||||||
|
|
||||||
extern Datum pg_stat_get_backend_idset(PG_FUNCTION_ARGS);
|
extern Datum pg_stat_get_backend_idset(PG_FUNCTION_ARGS);
|
||||||
extern Datum backend_pid(PG_FUNCTION_ARGS);
|
extern Datum pg_backend_pid(PG_FUNCTION_ARGS);
|
||||||
extern Datum pg_stat_get_backend_pid(PG_FUNCTION_ARGS);
|
extern Datum pg_stat_get_backend_pid(PG_FUNCTION_ARGS);
|
||||||
extern Datum pg_stat_get_backend_dbid(PG_FUNCTION_ARGS);
|
extern Datum pg_stat_get_backend_dbid(PG_FUNCTION_ARGS);
|
||||||
extern Datum pg_stat_get_backend_userid(PG_FUNCTION_ARGS);
|
extern Datum pg_stat_get_backend_userid(PG_FUNCTION_ARGS);
|
||||||
|
@ -213,7 +213,7 @@ pg_stat_get_backend_idset(PG_FUNCTION_ARGS)
|
||||||
|
|
||||||
|
|
||||||
Datum
|
Datum
|
||||||
backend_pid(PG_FUNCTION_ARGS)
|
pg_backend_pid(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
PG_RETURN_INT32(MyProcPid);
|
PG_RETURN_INT32(MyProcPid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue