Skip site navigation (1) Skip section navigation (2)

Re: ECPG failed and Postmaster getting bigger in using perl Pg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: PostgreSQL Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG failed and Postmaster getting bigger in using perl Pg
Date: 2000-05-10 07:42:22
Message-ID: 20000510094222.A2799@fam-meskes.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
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(at)Fam-Meskes(dot)De           | Use PostgreSQL!

In response to

Responses

pgsql-interfaces by date

Next:From: Michael MeskesDate: 2000-05-10 07:45:03
Subject: Re: [INTERFACES] Re: looking for doc for ecpg
Previous:From: SAKAIDA MasaakiDate: 2000-05-10 06:13:56
Subject: Re: ECPG failed and Postmaster getting bigger in using perl Pg

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group