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 C6286D1C94D for ; Fri, 1 Aug 2003 00:51:29 +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 00242-03 for ; Thu, 31 Jul 2003 21:50:24 -0300 (ADT) Received: from sccimhc02.asp.att.net (sccimhc02.asp.att.net [63.240.76.164]) by svr1.postgresql.org (Postfix) with ESMTP id C3B3AD1C977 for ; Thu, 31 Jul 2003 21:51:27 -0300 (ADT) Received: from windev (12-223-161-87.client.insightbb.com[12.223.161.87]) by sccimhc02.asp.att.net (sccimhc02) with SMTP id <20030801005128im2002dg8me>; Fri, 1 Aug 2003 00:51:28 +0000 From: "Eric Johnson" To: "Pgsql-Sql" Subject: Using contrib/fulltext on multiple tables Date: Thu, 31 Jul 2003 19:54:45 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/502 X-Sequence-Number: 14616 I am running into a problem with using contrib/fulltext on several tables. Here's the details... I have one sql script which drops everything and recreates the database structure, then populates it with some test data. In this script I create tables a,b and c and setup the triggers for fulltext indexing (as well as associated tables for the index data). Later in the script when inserting into these tables via stored procedures, the full text indexes get created for a and b but not c. It's just empty. If I just have a and c setup in the script, they both work. Same for a and b. It seems to be a problem with b and c. Something else that is odd is I can then call the Insert stored procedure for c and it's index doesn't get created. However, if I exit and reenter the psql client app, THEN run the Insert stored procedure, the index is created just fine. I've tried breaking it into two scripts (one for db structure and one for test data) but it still doesn't do the indexing on c. I apologize for the length, Eric