Re: Shell Command within function

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org,Mike Martin <redtux1(at)gmail(dot)com>,pgsql-general(at)postgresql(dot)org
Subject: Re: Shell Command within function
Date: 2018-10-26 12:25:22
Message-ID: 2B4206BC-9187-4392-A19F-6ACCF752C8D8@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 26 October 2018 13:22:19 WEST, Mike Martin <redtux1(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Gierth 2018-10-26 12:27:42 Re: Shell Command within function
Previous Message Mike Martin 2018-10-26 12:22:19 Shell Command within function