Comfortably check BackendPID with psql

Поиск
Список
Период
Сортировка
От Naoya Anzai
Тема Comfortably check BackendPID with psql
Дата
Msg-id 116262CF971C844FB6E793F8809B51C6E99D48@BPXM02GP.gisp.nec.co.jp
обсуждение исходный текст
Ответы Re: Comfortably check BackendPID with psql
Re: Comfortably check BackendPID with psql
Список pgsql-hackers
Hi, hackers!

This is a so tiny patch but I think it is very useful for hackers and DBAs.
When we debug with psql, we frequently use "SELECT pg_backend_pid();".
This can change the input of the 24 characters to the only 4 characters!

Image.
----------------------
naoya=# \bid
Backend Process ID
 pid
------
 1716
(1 row)
-----------------------

How do you like it?

Regards,

Naoya

---
Naoya Anzai
Engineering Department
NEC Solution Inovetors, Ltd.
E-Mail: nao-anzai@xc.jp.nec.com
---


Вложения

В списке pgsql-hackers по дате отправления: