From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Change fastgetattr and heap_getattr to inline functions
Date: Thu, 24 Mar 2022 14:09:49 -0400
Message-ID: <3029088.1648145389@sss.pgh.pa.us> (raw)
In-Reply-To: <E1nXQrj-001C9h-8Y@gemulon.postgresql.org>
References: <E1nXQrj-001C9h-8Y@gemulon.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org
Subject: Re: pgsql: Change fastgetattr and heap_getattr to inline functions
In-Reply-To: <3029088.1648145389@sss.pgh.pa.us>
References: <E1nXQrj-001C9h-8Y@gemulon.postgresql.org> <3029088.1648145389@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox