pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Petrossian <alexander.petrossian@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Luca Ferrari <fluca1978@gmail.com>
Cc: Александр Петросян <paf@yandex.ru>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: debugger from superuser only.... why?
Date: Wed, 27 Sep 2023 14:30:43 +0300
Message-ID: <938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com> (raw)
In-Reply-To: <170505.1695652114@sss.pgh.pa.us>
References: <6006191695187640@mail.yandex.ru>
	<CAKoxK+4AsQCWNLriWeo3R2G9fuGcxyC=eWijb4H6eN3N8ymBJg@mail.gmail.com>
	<086C5BA0-7B8F-42EE-ABEC-3EF403D1599B@gmail.com>
	<170505.1695652114@sss.pgh.pa.us>

> 25 сент. 2023 г., в 17:28, Tom Lane <tgl@sss.pgh.pa.us> написал(а):
> Alexander Petrossian <alexander.petrossian@gmail.com> writes:
>>>> I am wondering why is this, why not allow debugging for non-privileged users?
> Even if there's a way to restrict
> debugging connections to sessions owned by the same user,

I guess, there is such a way. Looks trivial...

> you’d have a big problem with being able to change the behavior of
> security-definer functions.

Could you please elaborate on this, Tom?

My worry is that it is very inconvenient.
And if reasons are not super-solid, maybe one can budge the Author? :)

>  Clearly, the authors of pldebugger
> decided that was a can of worms they didn't care to open.

Unless one wants to go fishing ;)

PAF




view thread (12+ messages)  latest in thread

Message-ID: <938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com>
Permalink:  ../938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com/
Also on:    postgresql.org/message-id/938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alexander.petrossian@gmail.com, tgl@sss.pgh.pa.us, fluca1978@gmail.com, paf@yandex.ru
  Subject: Re: debugger from superuser only.... why?
  In-Reply-To: <938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com>
  References: <6006191695187640@mail.yandex.ru> <CAKoxK+4AsQCWNLriWeo3R2G9fuGcxyC=eWijb4H6eN3N8ymBJg@mail.gmail.com> <086C5BA0-7B8F-42EE-ABEC-3EF403D1599B@gmail.com> <170505.1695652114@sss.pgh.pa.us> <938407CE-46E9-4699-AB0C-DB02F2755B2A@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox