Re: Initiate backup from routine?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Troels Arvin <troels(at)arvin(dot)dk>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Initiate backup from routine?
Date: 2024-01-17 14:49:56
Message-ID: CAKFQuwaE5daRGgWFDmyGj6oPHk22gOtW+sTr-=s+Qr0WBr=8YA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, January 17, 2024, Troels Arvin <troels(at)arvin(dot)dk> wrote:
>
> Is it possible to call pg_dump (or equivalent action) through a
> procedure/function?
>

Are you able to install an untrusted language handler into the database?
They are untrusted because they can basically get shell on the server.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Troels Arvin 2024-01-17 15:09:42 Re: Initiate backup from routine?
Previous Message Troels Arvin 2024-01-17 14:40:53 Initiate backup from routine?