X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8252CD1B4EA for ; Sun, 12 Oct 2003 05:22:00 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 11994-04 for ; Sun, 12 Oct 2003 02:21:26 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 2D94DD1B505 for ; Sun, 12 Oct 2003 02:21:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9C5LMhn000559; Sun, 12 Oct 2003 01:21:22 -0400 (EDT) To: stimits@comcast.net Cc: postgresql Subject: Re: more on undefined reference to 'pg_detoast_datum' and libpq In-reply-to: <3F886324.8020707@comcast.net> References: <3F886324.8020707@comcast.net> Comments: In-reply-to "D. Stimits" message dated "Sat, 11 Oct 2003 14:08:04 -0600" Date: Sun, 12 Oct 2003 01:21:22 -0400 Message-ID: <558.1065936082@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/25 X-Sequence-Number: 4514 "D. Stimits" writes: > 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. Of course not; it's a backend function. Your problem is that you are trying to build a server-side function as though it were a client application. You're linking to an inappropriate set of libraries. See the contrib modules for numerous examples of correct link setup for server-side functions. regards, tom lane