On Thu, Sep 9, 2021 at 9:19 AM Celia McInnis <celia.mcinnis@xxxxxxxxx> wrote: > Note that the file does exist:! (How do I know if it is looking under the correct directory? Other times I have done similar temporary table creations with no problems!): PostgreSQL internally uses relative paths. It's probably not a very good idea to use 'chdir' in a procedure.