Re: Remaining beta blockers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remaining beta blockers
Дата
Msg-id 24328.1367163695@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remaining beta blockers  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Remaining beta blockers
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Apr 27, 2013 at 3:51 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I cannot say that I find that idea attractive; the biggest problem with
>> it being that updating such a state flag will be nontransactional,
>> unless we go to a lot of effort to support rollbacks.  ISTM that the
>> scannability property is a perfectly normal relation property and as
>> such *ought* to be in the pg_class row, or at worst some other catalog
>> entry.  Why do you think differently?

> Mostly because of the issue with unlogged tables, I suppose.  If
> you've got a reasonable  idea how to do catalog updates on restart,
> though, I could probably be convinced to yield to that.

Well, it's fairly clear *how* to do it: add some more processing that
occurs after we've completed crash replay.  We already have some of
that, eg completion of partial splits in btrees, so it's not that much
of a stretch; it's just a lot of code that's not been written yet.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Proposal to add --single-row to psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Remaining beta blockers