Skip site navigation (1) Skip section navigation (2)

more on undefined reference to 'pg_detoast_datum' and libpq

From: "D(dot) Stimits" <stimits(at)comcast(dot)net>
To: postgresql <pgsql-interfaces(at)postgresql(dot)org>
Subject: more on undefined reference to 'pg_detoast_datum' and libpq
Date: 2003-10-11 20:08:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-interfaces
Apparently in PosgreSQL 7.2.3 (the Redhat 7.3 version, which has some 
patching involved), pg_detoast_datum is defined in fmgr backend code, 
but this function is not defined anywhere in any library, especially not 
libpq. It is the necessity to use fmgr.h functions that brings about the 
need to have pg_detoast_datum. The V1 interface itself requires fmgr.h, 
this is where PG_FUNCTION_INFO_V1 is declared, along with other V1 
macros. My guess is that pg_detoast_datum should be in a library 
somewhere, but manually compiling PostgreSQL 7.2.3 source with 
unstripped libraries shows that no dynamic library produced from the 
source build contains the necessary functions. There does not appear to 
be any (of any version), unless there is some configure 
option I am missing.

How do I get around this without using non-Redhat packages and without 
forcing users to install another version of PostgreSQL? At this point it 
looks like there is no choice but to use the V0 interface to libpq and 
develop separate projects for other versions of linux PostgreSQL that 
have more recent versions.

D. Stimits


pgsql-interfaces by date

Next:From: Tom LaneDate: 2003-10-12 05:21:22
Subject: Re: more on undefined reference to 'pg_detoast_datum' and libpq
Previous:From: Igor ShevchenkoDate: 2003-10-11 09:20:25
Subject: libpq/async notifications

pgsql-general by date

Next:From: NKDate: 2003-10-11 21:11:49
Subject: [Cygwin] Postgresql 7.3.4 Installation Problem
Previous:From: Greg StarkDate: 2003-10-11 19:06:43
Subject: Re: log_duration and \timing times repeatably much higher than "Total runtime" from explain analyze

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group