Re: pgsql: Change fastgetattr and heap_getattr to inline functions - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Change fastgetattr and heap_getattr to inline functions
Date
Msg-id 202203241832.7ojy5mwcbmij@alvherre.pgsql
Whole thread Raw
In response to Re: pgsql: Change fastgetattr and heap_getattr to inline functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Wrap inline function definitions in #ifndef FRONTEND
Next
From: Robert Haas
Date:
Subject: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.