Received: from mailgw00.execpc.com (mailgw00.execpc.com [169.207.1.78]) by hub.org (8.8.8/8.7.5) with ESMTP id MAA15465 for ; Fri, 12 Jun 1998 12:01:57 -0400 (EDT) Received: from earth.execpc.com (trowbrid@earth.execpc.com [169.207.16.1]) by mailgw00.execpc.com (8.9.0) id LAA09677 for ; Fri, 12 Jun 1998 11:01:56 -0500 (CDT) Received: (from trowbrid@localhost) by earth.execpc.com (8.8.8) id LAA08339 for pgsql-sql@postgresql.org; Fri, 12 Jun 1998 11:01:56 -0500 (CDT) Message-Id: <199806121601.LAA08339@earth.execpc.com> Subject: DefineQueryRewrite: rule plan string too big To: pgsql-sql@postgresql.org Date: Fri, 12 Jun 1998 11:01:56 -0500 (CDT) From: "Tim J Trowbridge" reply-to: trowbrid@writeme.com from: trowbrid@writeme.com X-Mailer: ELM [version 2.4 PL25-execpc] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit First, thanks for the help on sorting by birth month. BTW: The reason I needed to do that was because otherwise it would have been sorted by birth year, and a birthday list isn't very convenient when sorted by year. :-) Now I'm trying to create a view with about a dozen (or more) items in the where clause: create view x as select * from table where ID in ('id1','id2','id3','id3', 'id4','id5','id6','id7','id8','id9','ida','idb','idc','idd'); and the error is: DefineQueryRewrite: rule plan string is too big. I looked in the src, and in src/backend/rewrite/RewriteDefine.c, it mentions something about RULE_PLAN_SIZE being too small, and will eventually have to be large objects. Is this something that's in the works, and is there a workaround? TIA -- Tim J Trowbridge trowbrid@writeme.com Interested in my genealogy? http://www.execpc.com/~trowbrid