pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: ECPG failed and Postmaster getting bigger in using perl Pg
Date: Wed, 10 May 2000 09:42:22 +0200
Message-ID: <20000510094222.A2799@fam-meskes.de> (raw)
In-Reply-To: <3918FE241C2.6546SAKAIDA@smtp.psn.ne.jp>
References: <20000510022157.4467.qmail@web213.mail.yahoo.com>
	<3918FE241C2.6546SAKAIDA@smtp.psn.ne.jp>

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!



view thread (8+ messages)  latest in thread

Message-ID: <20000510094222.A2799@fam-meskes.de>
Permalink:  ../20000510094222.A2799@fam-meskes.de/
Also on:    postgresql.org/message-id/20000510094222.A2799@fam-meskes.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org
  Subject: Re: ECPG failed and Postmaster getting bigger in using perl Pg
  In-Reply-To: <20000510094222.A2799@fam-meskes.de>

* 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