Re: vpath builds and verbose error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: vpath builds and verbose error messages
Дата
Msg-id 5140.1322006827@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: vpath builds and verbose error messages  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> One thing that isn't so nice about all this is that it embeds the
> personal directory structure of the builder of the binary into the
> shipped product.  But gcc's cpp doesn't like redefining __FILE__, so the
> only way to get around that altogether would be to use something other
> than __FILE__ and define that for all builds.  Might not be worth it.

Well, if you have a problem with that, don't use a vpath build.  I don't
think it's our job to work around gcc behaviors that someone else might
feel to be security issues --- they should take that up with the gcc
maintainers.  To me, the only argument for doing anything about this at
all is that we'd like Postgres' behavior (in terms of what it prints in
error messages) to be consistent across different build scenarios.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [JDBC] Optimize postgres protocol for fixed size arrays
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Not HOT enough