Re: pg_restore fails with a custom backup file

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_restore fails with a custom backup file
Дата
Msg-id 20070219150712.GB29763@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: pg_restore fails with a custom backup file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Feb 17, 2007 at 01:28:22PM -0500, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > I'd also like a comment from at least one other "patch reviewer" that
> > the methods used are good.
> 
> It looks reasonable as far as it goes.  One thought is that pg_dump
> really should have noticed that it was writing a broken archive.
> On machines where off_t is 32 bits, can't we detect the overflow
> situation?

Tested on MSVC as well, works. Also tested and doesn't break the build
on Linux (which shouldn't be affected at all).

So, patch applied to HEAD and 8.2.

//Magnus


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: n-gram search function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RFC: Temporal Extensions for PostgreSQL