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

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 (view raw or flat)
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

pgsql-patches by date

Next:From: Dave PageDate: 2001-02-12 22:33:21
Subject: ODBC Makefile for Win32
Previous:From: Bruce MomjianDate: 2001-02-12 21:46:25
Subject: Re: ODBC Patch

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