DEV Community

leo
leo

Posted on • Updated on

OpenGauss: Pg_gtt_attached_pid(relOid)

pg_gtt_attached_pid(relOid)

Description: Displays all thread pids that are using the specified global temporary table.

Parameters: OID of the global temporary table.

Return value type: record

Example:
copy code
openGauss=# select * from pg_gtt_attached_pid(74069);
relid | pid

-------+-----------------
74069 | 139648170456832
74069 | 139648123270912
(2 rows)

Top comments (0)