Re: Restricting Postgres - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: Restricting Postgres
Date
Msg-id 20041104204603.GC19625@uio.no
Whole thread Raw
In response to Re: Restricting Postgres  (Martin Foster <martin@ethereal-realms.org>)
List pgsql-performance
On Thu, Nov 04, 2004 at 03:30:19PM -0500, Martin Foster wrote:
> This should be my last question on the matter, does squid report the
> proper IP address of the client themselves?    That's a critical
> requirement for the scripts.

AFAIK it's in some header; I believe they're called "X-Forwarded-For". If
you're using caching, your script will obviously be called fewer times than
usual, though, so be careful about relying too much on side effects. :-)
(This is, of course, exactly the same if the client side uses a caching
proxy. Saying anything more is impossible without knowing exactly what you
are doing, though :-) )

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Anything to be gained from a 'Postgres Filesystem'?
Next
From: Matt Clark
Date:
Subject: Re: Restricting Postgres