Re: Restricting Postgres

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: Restricting Postgres
Дата
Msg-id 20041104204603.GC19625@uio.no
обсуждение исходный текст
Ответ на Re: Restricting Postgres  (Martin Foster <martin@ethereal-realms.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Anything to be gained from a 'Postgres Filesystem'?
Следующее
От: Matt Clark
Дата:
Сообщение: Re: Restricting Postgres