Re: Shell Command within function

2018-10-26 Thread Andrew Gierth
> "Mike" == Mike Martin writes: Mike> Is this possible? In an untrusted pl language, yes, but it's a bad idea because: Mike> I have a script which imports csvlogs into a table, and it would Mike> be useful to truncate the log files after import If you had an error after truncating the f

Re: Shell Command within function

2018-10-26 Thread Andreas Kretschmer
On 26 October 2018 13:22:19 WEST, Mike Martin 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 Post

Shell Command within function

2018-10-26 Thread Mike Martin
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