Re: [HACKERS] v6.4-BETA3 problems with FreeBSD

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scrappy(at)hub(dot)org (The Hermit Hacker)
Cc: takehi-s(at)ascii(dot)co(dot)jp, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] v6.4-BETA3 problems with FreeBSD
Date: 1998-11-02 15:27:14
Message-ID: 199811021527.KAA14622@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mon, 2 Nov 1998, SHIOZAKI Takehiko wrote:
>
> > [On Nov 2, The Hermit Hacker <scrappy(at)hub(dot)org> writes:]
> > >
> > >> # And my patch for nbtsearch.c is not applied yet. Was it wrong?
> > >
> > > Did I miss something?
> >
> > Please make sure whether this is correct.
> > http://www.PostgreSQL.ORG/mhonarc/pgsql-hackers/1998-10/msg01135.html
>
> Bruce, can you check that one. Basically, we try and pass:
>
> rel->rd_rel->relname
>
> instead of
>
> rel->rd_rel->relname.data
>
> around line 217 (elog(...)) in nbtsearch.c ...

Oh, I see the problem now. Originally, I thought it was just a question
of style, but now I see that the whole structure is being passed to
elog(), rather than the character pointer.

Patch applied.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-11-02 15:37:08 Re: [HACKERS] relname.data
Previous Message Tom Lane 1998-11-02 15:19:36 Re: [HACKERS] A small problem with the new inet and cidr types