Re: BUG #5318: Inconsistent PHP pg_result_error_field PGSQL_DIAG_SOURCE_FUNCTION across instalations
В списке pgsql-bugs по дате отправления:
| От | Zdenek Kotala |
|---|---|
| Тема | Re: BUG #5318: Inconsistent PHP pg_result_error_field PGSQL_DIAG_SOURCE_FUNCTION across instalations |
| Дата | |
| Msg-id | 1265572644.3942.12.camel@localhost обсуждение исходный текст |
| Ответ на | Re: BUG #5318: Inconsistent PHP pg_result_error_field PGSQL_DIAG_SOURCE_FUNCTION across instalations (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: BUG #5318: Inconsistent PHP pg_result_error_field PGSQL_DIAG_SOURCE_FUNCTION across instalations
|
| Список | pgsql-bugs |
Tom Lane pÃÅ¡e v so 06. 02. 2010 v 10:57 -0500:
> "IP" <ireneusz.pastusiak@poczta.fm> writes:
> > Issue: no value returned for 8.4.2 Solaris 10 x86 installation
>
> This isn't necessarily a bug. The source-function report depends
> on having used a C compiler that supports the __func__ or __FUNCTION__
> symbol, and not all do.
Yes it is the problem
> Most likely your Solaris 10 version was
> built with a compiler that doesn't.
SunStudio has __func__ since version 10. Solaris 10 is compiled with
version 11. Problem is that __func__ is defined in C99 and PostgreSQL is
compiled with -xc99=none. Which means that compiler should be strict C89
like PostgreSQL ;-).
I think that there is no reason to use this flag.
Zdenek
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера