Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qipn1-0080Y6-Tn for pgsql-general@arkaria.postgresql.org; Wed, 20 Sep 2023 05:30:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qipn0-00ETs8-2h for pgsql-general@arkaria.postgresql.org; Wed, 20 Sep 2023 05:30:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qipmz-00ETrm-KM for pgsql-general@lists.postgresql.org; Wed, 20 Sep 2023 05:30:17 +0000 Received: from forward401b.mail.yandex.net ([178.154.239.158]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qipmv-005ZKW-6V for pgsql-general@lists.postgresql.org; Wed, 20 Sep 2023 05:30:16 +0000 Received: from mail-nwsmtp-mxback-production-main-79.iva.yp-c.yandex.net (mail-nwsmtp-mxback-production-main-79.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:1288:0:640:1dc8:0]) by forward401b.mail.yandex.net (Yandex) with ESMTP id 4A8C0669F4 for ; Wed, 20 Sep 2023 08:30:09 +0300 (MSK) Received: from mail.yandex.ru (2a02:6b8:c0c:a52c:0:640:72d9:0 [2a02:6b8:c0c:a52c:0:640:72d9:0]) by mail-nwsmtp-mxback-production-main-79.iva.yp-c.yandex.net (mxback/Yandex) with HTTP id 6UBJiY0W8Gk0-ZAlACq0n; Wed, 20 Sep 2023 08:30:08 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1695187808; bh=FZZIQJVzUCD4aJeVfn+DQeXgmfj02g8MRh1bFq7F7P4=; h=Message-Id:Date:Subject:To:From; b=aGwR4Yd1HdUT1VmGn6QRw2PAyQOloqRk1wugOaZyvj2G7LGrWZvd/XuPorkzahIB/ fLZkNsCwT3Q2qBc5wNvyuc7D34bthOsBoeQQJgZIWs2Y2rgVjZil8S1qCTRwsGubKn WisDmz6Enal2dozWSdISspii3kliCSE5e0C9a0bM= Authentication-Results: mail-nwsmtp-mxback-production-main-79.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by 2y2i6g6snfcuakol.iva.yp-c.yandex.net with HTTP; Wed, 20 Sep 2023 08:30:08 +0300 From: =?utf-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCf0LXRgtGA0L7RgdGP0L0gKHdlYik=?= To: "pgsql-general@lists.postgresql.org" Subject: debugger from superuser only.... why? MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 20 Sep 2023 08:30:08 +0300 Message-Id: <6006191695187640@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=utf-8 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk
Checked few sources, can not seem to find reasoning behind this limit:

> You must have superuser privileges to use the debugger.

From here.
 
Say, in java/c++/many_others... one can debug from non-proviledged user allright. Not so with pldbgapi.
 
What is the reason?
 
Alexander Petrossian (PAF)