Shell Command within function

From: Mike Martin <redtux1(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Shell Command within function
Date: 2018-10-26 12:22:19
Message-ID: CAOwYNKZ_+y-qFxwTZLZ-X-2fxFhG0bSLC6dT2TUSY1yYLWPAvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

thanks

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2018-10-26 12:25:22 Re: Shell Command within function
Previous Message Arup Rakshit 2018-10-26 11:54:04 ERROR: type "myrowtype" does not exist