Re: warning message in standby

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: warning message in standby
Дата
Msg-id
AANLkTimNdluafW2xZ4qjs30P-LsvYeuKD1AAMgv1oyLo@mail.gmail.com
Ответ на
Список
Дерево обсуждения
warning message in standby Fujii Masao <masao.fujii@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Bruce Momjian <bruce@momjian.us>
Re: warning message in standby Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: warning message in standby Bruce Momjian <bruce@momjian.us>
Re: warning message in standby Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: warning message in standby Magnus Hagander <magnus@hagander.net>
Re: warning message in standby Bruce Momjian <bruce@momjian.us>
Re: warning message in standby Magnus Hagander <magnus@hagander.net>
Re: warning message in standby Bruce Momjian <bruce@momjian.us>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Magnus Hagander <magnus@hagander.net>
Re: warning message in standby "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Dimitri Fontaine <dfontaine@hi-media.com>
Re: warning message in standby Simon Riggs <simon@2ndQuadrant.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Bruce Momjian <bruce@momjian.us>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Tom Lane <tgl@sss.pgh.pa.us>
Re: warning message in standby Josh Berkus <josh@agliodbs.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Fujii Masao <masao.fujii@gmail.com>
Re: warning message in standby Fujii Masao <masao.fujii@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Fujii Masao <masao.fujii@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Greg Stark <gsstark@mit.edu>
Re: warning message in standby Robert Haas <robertmhaas@gmail.com>
Re: warning message in standby Fujii Masao <masao.fujii@gmail.com>
Re: warning message in standby Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: warning message in standby Fujii Masao <masao.fujii@gmail.com>
On Mon, Jun 14, 2010 at 11:34 AM, Simon Riggs  wrote:
> On Mon, 2010-06-14 at 11:14 -0400, Robert Haas wrote:
>> On Mon, Jun 14, 2010 at 11:09 AM, Tom Lane  wrote:
>> > Simon Riggs  writes:
>> >> Should I be downgrading Hot Standby breakages to LOG? That will
>> >> certainly help high availability as well.
>> >
>> > If a message is being issued in a non-user-connected session, there
>> > is basically not a lot of point in WARNING or below.  It should either
>> > be LOG, or ERROR/FATAL/PANIC (which are probably all about the same
>> > thing in the startup process...)
>>
>> I think Simon's point here is the same as mine - LOG isn't too high -
>> it's too low.
>
> Yes, *and* how do we decide which this is?
>
> Should I downgrade all of my code to throwing LOGs rather than ERRORs,
> because (following the same argument) doing so would be better for high
> availability? It's not a facetious question.

I would say - definitely not.  High availability is all well and good,
but if things are broken under the hood, it's not really so good after
all.  We've traditionally put data integrity and system reliability
ahead of (for example) giving some answer to a query, even if it's the
wrong answer.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: warning message in standby
От: Greg Stark
Дата:
Сообщение: Re: pg_archive_bypass
FAQ