From: | Amir Abdollahi <amirabd2130(at)yahoo(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Connection Problem |
Date: | 2011-08-14 08:27:14 |
Message-ID: | 1313310434.12459.YahooMailNeo@web39508.mail.mud.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
I'm trying to add audit capability to Postgresql server. When the Postgresql server starts up, the server will start audit functions as a new subprocess thus the server will have 5 subprocesses instead of 4. I want to store logs in a database within the same Postgresql server [from audit subprocess, this means connection functions are part of the audit process].
Problem is that when I tried to connect to server [using libpq interface] I've always get this message:
"canceling authentication due to timeout",
but if I ran the same code as a new process [not a subprocess for Postgresql server] there will be no problem!
Now, my question is : How can I connect to server from one its subprocesses, is it even possible?
Thanks
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2011-08-14 10:57:22 | Re: our buffer replacement strategy is kind of lame |
Previous Message | daveg | 2011-08-14 05:44:44 | Re: OperationalError: FATAL: lock AccessShareLock on object 0/1260/0 is already |