Re: oid2name silly patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: oid2name silly patch
Date
Msg-id 200102122150.QAA25883@candle.pha.pa.us
Whole thread Raw
In response to Re: oid2name silly patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: oid2name silly patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@candle.pha.pa.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: andrea gelmini
Date:
Subject: Re: oid2name silly patch
Next
From: Dave Page
Date:
Subject: ODBC Makefile for Win32