On 26 October 2018 13:22:19 WEST, Mike Martin <redtux1@xxxxxxxxx> 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