Re: pg_dump and large files - is this a problem?

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: pg_dump and large files - is this a problem?
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961ED6@m0114.s-mxs.net
обсуждение исходный текст
Ответ на pg_dump and large files - is this a problem?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: pg_dump and large files - is this a problem?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > The problem with flex is, that the generated c file does #include <unistd.h>
> > before we #include "postgres.h".
> > In this situation _LARGE_FILES is not defined for unistd.h and unistd.h
> > chooses to define _LARGE_FILE_API, those two are not compatible.
>
> Yeah.  AFAICS the only way around this is to avoid doing any I/O
> operations in the flex-generated files.  Fortunately, that's not much
> of a restriction.

Unfortunately I do not think that is sufficient, since the problem is already
at the #include level. The compiler barfs on the second #include <unistd.h>
from postgres.h

Andreas


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

Предыдущее
От: Pedro Miguel Frazao Fernandes Ferreira
Дата:
Сообщение: Re: float output precision questions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?