Re: Restricting Postgres

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Restricting Postgres
Date: 2004-11-04 20:46:03
Message-ID: 20041104204603.GC19625@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Clark 2004-11-04 21:00:27 Re: Restricting Postgres
Previous Message David Parker 2004-11-04 20:38:58 Re: disabling constraints

Browse pgsql-performance by date

  From Date Subject
Next Message Matt Clark 2004-11-04 21:00:27 Re: Restricting Postgres
Previous Message Tom Lane 2004-11-04 20:45:51 Re: Anything to be gained from a 'Postgres Filesystem'?