X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8C574D1B50E for ; Fri, 26 Sep 2003 15:39: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 48596-05 for ; Fri, 26 Sep 2003 12:39:17 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 58CECD1B4F5 for ; Fri, 26 Sep 2003 12:39:16 -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 h8QFdF6c016197; Fri, 26 Sep 2003 11:39:15 -0400 (EDT) To: Wei Weng Cc: pgsql-sql@postgresql.org Subject: Re: tsearch2 question In-reply-to: References: <5912.1064536486@sss.pgh.pa.us> <15816.1064588853@sss.pgh.pa.us> Comments: In-reply-to Wei Weng message dated "Fri, 26 Sep 2003 11:12:39 -0400" Date: Fri, 26 Sep 2003 11:39:15 -0400 Message-ID: <16196.1064590755@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/333 X-Sequence-Number: 15311 Wei Weng writes: > When I run psql < tsearch2.sql, is psql going to substitute $libdir > internally with what $libdir really is (in my case, it would be > /usr/lib/pgsql)? Not psql, the backend. The point of this is that your CREATE FUNCTION definition can be platform-independent ... regards, tom lane