Re: Details for planned template0/template1 change

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Details for planned template0/template1 change
Дата
Msg-id 11807.974262034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Details for planned template0/template1 change  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Details for planned template0/template1 change  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> I still think that pg_dump needs to use the lastoid in template0 - did you
> fail to implement this because you disagree, or because you think it should
> use the current db lastsysoid?

I think it should use the current DB's lastsysoid, which is how I
left the code.

Given the present backend coding, all the DBs in an installation will
have the same lastsysoid as template0 anyway, barring manual
intervention.  The only reason they'd be different is if the dbadmin
deliberately changed one in order to prevent pg_dump from dumping part
of that database.  Now offhand I don't see a good *reason* for someone
to do that, but I don't see any reason to make it impossible to do it,
either.
        regards, tom lane


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: IRC?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: UUNET socket-file-location patch