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 4F289D1B4E3 for ; Mon, 13 Oct 2003 14:43:27 +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 06233-09 for ; Mon, 13 Oct 2003 11:42:41 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 5BB0FD1B503 for ; Mon, 13 Oct 2003 11:42:37 -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 h9DEgfhn014312; Mon, 13 Oct 2003 10:42:41 -0400 (EDT) To: stimits@comcast.net Cc: postgresql Subject: Re: more on undefined reference to 'pg_detoast_datum' In-reply-to: <3F8A64DF.1080008@comcast.net> References: <3F886324.8020707@comcast.net> <558.1065936082@sss.pgh.pa.us> <3F8A64DF.1080008@comcast.net> Comments: In-reply-to "D. Stimits" message dated "Mon, 13 Oct 2003 02:39:59 -0600" Date: Mon, 13 Oct 2003 10:42:40 -0400 Message-ID: <14311.1066056160@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/27 X-Sequence-Number: 4516 "D. Stimits" writes: > ... My question is, where the heck is > CurrentMemoryContext and MemoryContextAlloc provided as an > implementation which I can link with? They're inside the backend, and you don't --- you are not trying to build a standalone executable with no unresolved symbols, but a shared library that can be successfully loaded into the backend. It's okay for such a library to have unresolved references to symbols that will be resolved at load time. regards, tom lane