Re: Access disk from plpython

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "Rhys A(dot)D(dot) Stewart" <rhys(dot)stewart(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Access disk from plpython
Date: 2012-11-14 17:23:12
Message-ID: 50A3D380.40000@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/14/2012 08:56 AM, Rhys A.D. Stewart wrote:
> No it doesn't, I was hoping to create the file.
>

Some testing here confirms it is saving file with postgres user
permissions. I could get it to save by creating a directory owned by the
postgres user in my home directory and saving to there. My guess is a
directory in you path has permissions that are preventing saving. At a
guess, /root/.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marius Andreiana 2012-11-14 18:34:10 word/phrase extraction & ranking
Previous Message D T 2012-11-14 17:19:57 Using Postgresql 9.2 on windows 7 and windows vista