Re: oid2name silly patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: andrea gelmini <andrea(dot)gelmini(at)linux(dot)it>, pgsql-patches(at)postgresql(dot)org
Subject: Re: oid2name silly patch
Date: 2001-02-12 21:50:24
Message-ID: 200102122150.QAA25883@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Thanks. Fix applied. My gcc doesn't complain, even with -Wall, so I
assumed it was a platform-specific issue.

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, add #include <stdio.h> to the file. That should fix it.
>
> Seems unlikely, since libpq-fe.h already includes <stdio.h>.
>
> The real problem here is that the code is wrong: it's passing NULL
> to an int parameter.
>
> regards, tom lane
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2001-02-12 22:33:21 ODBC Makefile for Win32
Previous Message Bruce Momjian 2001-02-12 21:46:25 Re: ODBC Patch