Return-Path: postman 
Delivery-Date: Thu, 23 Sep 93 16:23:12 PDT
Return-Path: postman
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA20718; Thu, 23 Sep 93 16:20:51 -0700
Resent-From: postman (POSTGRES mailing list)
Resent-Message-Id: <9309232320.AA20718@postgres.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: rowland@vogon.llnl.gov
Received: from vogon.llnl.gov by postgres.Berkeley.EDU (5.61/1.29)
	id AA20708; Thu, 23 Sep 93 16:20:46 -0700
Received: by vogon.llnl.gov (4.1/LLNL-1.18)
	id AA17321; Thu, 23 Sep 93 16:22:58 PDT
Date: Thu, 23 Sep 93 16:22:58 PDT
From: rowland@vogon.llnl.gov (Rowland Johnson)
Message-Id: <9309232322.AA17321@vogon.llnl.gov>
To: postgres@postgres.berkeley.edu
Resent-To: postgres-dist
Resent-Date: Thu, 23 Sep 93 16:20:50 PDT


  I've implemented agrep as a user defined function. I.E. a query like 

retrieve (g.all) from g in syn where AGREP(g.label, "<^>centrifuge -1"::text)
 
can be posted.  In the case of AGREP there is a lengthy initialization
phase that need to happen only once. Is there a good way for a user
defined function to know the first time it is called for a query?


Rowland R Johnson        rowland@vogon.llnl.gov
                         510-423-3064
