Re: debugger from superuser only.... why? - Mailing list pgsql-general

From Tom Lane
Subject Re: debugger from superuser only.... why?
Date
Msg-id 598114.1695822729@sss.pgh.pa.us
Whole thread Raw
In response to Re: debugger from superuser only.... why?  (Alexander Petrossian <alexander.petrossian@gmail.com>)
List pgsql-general
Alexander Petrossian <alexander.petrossian@gmail.com> writes:
> 25 сент. 2023 г., в 17:28, Tom Lane <tgl@sss.pgh.pa.us> написал(а):
>> you’d have a big problem with being able to change the behavior of
>> security-definer functions.

> Could you please elaborate on this, Tom?

pldebugger allows you to change the contents of a function's
local variables.  Obviously the threat level would depend a lot
on the details of the particular function, but it's not hard
to envision cases where that would be enough to make the function
do something other than what it was supposed to.

            regards, tom lane



pgsql-general by date:

Previous
From: Alexander Petrossian
Date:
Subject: Re: debugger from superuser only.... why?
Next
From: Laurenz Albe
Date:
Subject: Re: valid casts to anyarray