Received: from dfw-ix1.ix.netcom.com (dfw-ix1.ix.netcom.com [206.214.98.1]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA89845 for ; Mon, 16 Aug 1999 19:34:38 -0400 (EDT) (envelope-from drfrog@smartt.com) Received: (from smap@localhost) by dfw-ix1.ix.netcom.com (8.8.4/8.8.4) id SAA17566; Mon, 16 Aug 1999 18:33:22 -0500 (CDT) Received: from 00-10-4b-66-ed-f1.bconnected.net(209.53.22.117) by dfw-ix1.ix.netcom.com via smap (V1.3) id rma017521; Mon Aug 16 18:33:08 1999 Sender: DrFrog@ix.netcom.com Message-ID: <37B8A1BF.9A9EE416@smartt.com> Date: Mon, 16 Aug 1999 23:41:51 +0000 From: Clayton Cottingham X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.3.2 i586) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Momjian CC: "pgsql-sql@postgresql.org" Subject: Re: [SQL] example of a simple function References: <199908162320.TAA16541@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bruce Momjian wrote: > > can some one please send me a skeleton function, one that does nothing > > but contains > > all the nessecary components to hook up to pg? > > > > id really appreciate this ,as im not really a c/c++ programmer > > but i really want to learn how to make these functions that call c! > > > > > > > > There are examples in src/tutorial, I think. > > -- > Bruce Momjian | http://www.op.net/~candle > maillist@candle.pha.pa.us | (610) 853-3000 > + If your life is a hard drive, | 830 Blythe Avenue > + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 great! what im trying to do is use fulltextindex, it seg faults on large dbs{mine is currently up at 130K rows} i really need something to this effect inn my project! one question i have is does the *.so have to be in the ld_lib config path? or can it just sit anywhere and be linked? i currently just have a folder named modules under the pgsql dir which i place my c functions in and create the function and set the path to the lib in that dir, is this the correct procedure for doing this? also what sort of permissions, if any are needed?