Re: unlogged tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unlogged tables
Дата
Msg-id 7946.1289947319@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unlogged tables  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: unlogged tables  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> Yeah, you'd have to allow a flag to control the behavior.  And in that
>> case I'd rather the flag have a single default rather than different
>> defaults depending on whether or not individual tables were selected.
>> Something like --omit-unlogged-data.

> Are you sure we don't want to default the other way?  It seems to me
> that most people using unlogged tables won't want to back them up ...

That's a very debatable assumption.  You got any evidence for it?
Personally, I don't think pg_dump should ever default to omitting
data.

> especially since the share lock for pgdump will add overhead for the
> kinds of high-volume updates people want to do with unlogged tables.

Say what?  pg_dump just takes AccessShareLock.  That doesn't add any
overhead.
        regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: unlogged tables
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: unlogged tables