why can't I create a file in the pl/java?

From: 595926716 <595926716(at)qq(dot)com>
To: "pljava-dev(at)lists(dot)postgresql(dot)org" <pljava-dev(at)lists(dot)postgresql(dot)org>
Subject: why can't I create a file in the pl/java?
Date: 2021-11-27 14:14:27
Message-ID: tencent_A3DAE9F958FB34CA9211650D5E7F1DC53107@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

I tried to create a temporary file in the program, it could not be created,
my code:
File.createTempFile("tmp", "txt");
reported an error when I ran it in the PostgreSQL
> ERROR: java.sql.SQLDataException: Unable to create temporary file

How do I create temporary files? please help me, thank you!

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2021-11-27 16:52:12 Re: why can't I create a file in the pl/java?
Previous Message Chapman Flack 2021-10-11 17:52:37 PL/Java 1.6.3 and 1.5.8 released