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

From Tom Lane
Subject Re: pgsql: Change fastgetattr and heap_getattr to inline functions
Date
Msg-id 3029088.1648145389@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Change fastgetattr and heap_getattr to inline functions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pgsql: Change fastgetattr and heap_getattr to inline functions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-committers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Change fastgetattr and heap_getattr to inline functions

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".

            regards, tom lane



pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Add decoding of sequences to built-in replication
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Wrap inline function definitions in #ifndef FRONTEND