Re: pgsql: Change fastgetattr and heap_getattr to inline functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Change fastgetattr and heap_getattr to inline functions
Дата
Msg-id 202203241832.7ojy5mwcbmij@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgsql: Change fastgetattr and heap_getattr to inline functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On 2022-Mar-24, Tom Lane wrote:

> wrasse isn't happy with this:
> 
> ccache /opt/developerstudio12.6/bin/cc  -m64 -Xa -v -O pg_resetwal.o -L../../../src/port -L../../../src/common
-L/home/nm/sw/nopath/uuid-64/lib-L/home/nm/sw/nopath/openldap-64/lib -Wl,--as-needed
-Wl,-R'/home/nm/farm/studio64v12_6/HEAD/inst/lib' -lpgcommon -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5
-lz-lreadline -ltermcap -lnsl -lsocket -lm  -o pg_resetwal
 
> Undefined            first referenced
>  symbol                  in file
> nocachegetattr                      pg_resetwal.o
> ld: fatal: symbol referencing errors
> 
> I believe you need to wrap those new inline functions in
> "#ifndef FRONTEND".

Ah, hadn't seen that, thanks.  Pushed that as fix.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Wrap inline function definitions in #ifndef FRONTEND
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.