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,
constchar *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!