Re: Error: absolute path not allowed

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: wschwurack <wolf(at)uen(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error: absolute path not allowed
Date: 2013-01-10 05:07:47
Message-ID: CA+h6AhioLQ0LREuQJcCpj_SSm2ZmJx7AFRUUP+8a5SQLq5g5oQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 10, 2013 at 1:20 AM, wschwurack <wolf(at)uen(dot)org> wrote:

> How do I find what is calling pg_read_file
>
>
As said, check the log's to find DB,Host,User etc. from where its been
called. If log_line_prefix not set to appropriate to all those details then
change it as shown below which just need RELOAD of server. After changing
your logs should show those details. Eg:-
log_line_prefix = '%t [%p]: [%l-1] db=%d,user=%u client=%h'

Also, its just my guess, if pg_read_file() function called from any other
function then you can check with below query.

select proname from pg_proc where prosrc ilike '%pg_read_file%' and
pronamespace=(select oid from pg_namespace where nspname='public');

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vikram A 2013-01-10 07:52:09
Previous Message Tom Lane 2013-01-10 04:30:58 Re: Database connections seemingly hanging