I am creating a procedure using plpgsql which calls a .bat file. This same .bat file manipulates files and directories (includes mkdir, rmdir...) but these commands are not being executed. I was reading that plpgsql is only for data manipulation -- so I am presuming this is the issue.
How can I work around this problem? Can I set some parameter to remove this restriction, use a new language, or what?