Re: Shell Command within function - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Shell Command within function
Date
Msg-id 2B4206BC-9187-4392-A19F-6ACCF752C8D8@a-kretschmer.de
Whole thread Raw
In response to Shell Command within function  (Mike Martin <redtux1@gmail.com>)
List pgsql-general
On 26 October 2018 13:22:19 WEST, Mike Martin <redtux1@gmail.com> wrote:
>Is this possible?
>I have a script which imports csvlogs into a table, and it would be
>useful
>to truncate the log files after import
>

You can use an untrusted language (pl/perlu, pl/sh, ...).



Regards, Andreas


--
2ndQuadrant - The PostgreSQL Support Company


pgsql-general by date:

Previous
From: Mike Martin
Date:
Subject: Shell Command within function
Next
From: Andrew Gierth
Date:
Subject: Re: Shell Command within function