Re: fix compile warning for pg_backup_tar.c

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: fix compile warning for pg_backup_tar.c
Дата
Msg-id 418FC7C9.8070105@dunslane.net
обсуждение исходный текст
Ответ на Re: fix compile warning for pg_backup_tar.c  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: fix compile warning for pg_backup_tar.c
Список pgsql-patches

Peter Eisentraut wrote:

>Andrew Dunstan wrote:
>
>
>>ISTM that what is happening here is that the compiler is smart enough
>>to know that what is in MAX_TAR_MEMBER_FILELEN can't be exceeded by
>>any possible value of type off_t.
>>
>>
>
>Yeah, I think off_t is only 32 bits there.  Then using INT64_IS_BUSTED
>as conditional is really misleading.\
>
>

What would you like me to use? Or maybe we should just do this in all
cases instead of using an ifdef?

cheers

andrew

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: fix compile warning for pg_backup_tar.c
Следующее
От: Neil Conway
Дата:
Сообщение: GiST: perf. work, index tuple killing