Received: from feivel.fam-meskes.de (postfix@p3EE01527.dip0.t-ipconnect.de [62.224.21.39]) by hub.org (8.9.3/8.9.3) with ESMTP id DAA46460 for ; Wed, 10 May 2000 03:47:49 -0400 (EDT) (envelope-from michael@fam-meskes.de) Received: by feivel.fam-meskes.de (Postfix, from userid 1000) id 171202BD28; Wed, 10 May 2000 09:42:22 +0200 (CEST) Date: Wed, 10 May 2000 09:42:22 +0200 From: Michael Meskes To: PostgreSQL Interfaces Subject: Re: ECPG failed and Postmaster getting bigger in using perl Pg Message-ID: <20000510094222.A2799@fam-meskes.de> Mail-Followup-To: PostgreSQL Interfaces References: <20000510022157.4467.qmail@web213.mail.yahoo.com> <3918FE241C2.6546SAKAIDA@smtp.psn.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.9i In-Reply-To: <3918FE241C2.6546SAKAIDA@smtp.psn.ne.jp>; from sakaida@psn.co.jp on Wed, May 10, 2000 at 03:13:56PM +0900 X-Archive-Number: 200005/81 On Wed, May 10, 2000 at 03:13:56PM +0900, SAKAIDA Masaaki wrote: > This is a bug of pre-processor in PostgreSQL-7.0RC5. ARGH! > The solutions of the bug: > > 1. Don't use a struct host variable. Not really a solution. > 2. Apply the next patch. > > *** postgresql-7.0RC5/src/interfaces/ecpg/preproc/type.c.orig Wed May 10 14:45:55 2000 > --- postgresql-7.0RC5/src/interfaces/ecpg/preproc/type.c Wed May 10 14:46:43 2000 > *************** > *** 198,203 **** > --- 198,209 ---- > void > ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * typ, const char *ind_name, struct ECPGtype * ind_typ, const char *prefix, const char *ind_prefix) > { > + if (ind_typ == NULL) > + { > + ind_typ = &ecpg_no_indicator; > + ind_name = "no_indicator"; > + } > + This has been in before. I have no idea where it got lost. To make matters worse this has not made it into the archive before 7.0 was released right? Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael@Fam-Meskes.De | Use PostgreSQL!