Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
Дата
Msg-id f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com
обсуждение исходный текст
Ответ на pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On 26/09/2018 18:36, Tom Lane wrote:
> Incorporate strerror_r() into src/port/snprintf.c, too.
> 
> This provides the features that used to exist in useful_strerror()
> for users of strerror_r(), too.  Also, standardize on the GNU convention
> that strerror_r returns a char pointer that may not be NULL.

Somehow, this is not working for me:

Undefined symbols for architecture x86_64:
  "_libintl_gettext", referenced from:
      _pg_strerror_r in strerror.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[4]: *** [../../../../src/Makefile.shlib:303: libpgtypes.3.12.dylib]
Error 1

It works if I don't use --enable-nls.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Implement %m in src/port/snprintf.c,and teach elog.c to rely on
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Recurse to sequences on ownership change for all relkinds