pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olivier Ertz <ertz@illite.u-strasbg.fr>
To: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: RewriteDefine.c : Rule size
Date: Thu, 08 Jul 1999 18:15:07 +0200
Message-ID: <3784CE8B.9E412BB3@illite.u-strasbg.fr> (raw)

Hello,

	I'm using Postgres 6.4.2.
I want to create a view, but a message appear :
 ERROR:  DefineQueryRewrite: rule plan string too big.
What could be the solution to avoid the problem? In fact, I have 31 
columns in a table, and i want to make a view on this table (with
a line restrict = WHERE clause).
I watched the RewriteDefine.c code and saw : 
 #define RULE_PLAN_SIZE BLCKSZ
I thought changing the value of this size, but I don't find the
place to modify the BLCKSZ value.
But, before doing the modification and recompile, I would like to
have your opinion on the problem...perhaps is there an easier way to
resolve the problem.

	Thank you for answering
	
-- 
ERTZ Olivier - ertz@illite.u-strasbg.fr - Tel 03 88 35 85 87
------------------------------------------------------------
  Etudiant DESS Informatique   |   Stagiaire EOST/ULP-CGS
   Universite Louis Pasteur    |  Ecole et Observatoire des 
     STRASBOURG - France       |    Sciences de la Terre
------------------------------------------------------------
   World Wide Web : http://dess-info.u-strasbg.fr/~ertz 
------------------------------------------------------------



view thread (6+ messages)  latest in thread

Message-ID: <3784CE8B.9E412BB3@illite.u-strasbg.fr>
Permalink:  ../3784CE8B.9E412BB3@illite.u-strasbg.fr/
Also on:    postgresql.org/message-id/3784CE8B.9E412BB3@illite.u-strasbg.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: ertz@illite.u-strasbg.fr
  Subject: Re: RewriteDefine.c : Rule size
  In-Reply-To: <3784CE8B.9E412BB3@illite.u-strasbg.fr>
  References: <3784CE8B.9E412BB3@illite.u-strasbg.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox