Re: oid2name silly patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: oid2name silly patch
Date
Msg-id 200102121837.NAA10564@candle.pha.pa.us
Whole thread Raw
In response to oid2name silly patch  (andrea gelmini <andrea.gelmini@linux.it>)
Responses Re: oid2name silly patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
OK, add #include <stdio.h> to the file.  That should fix it.

> On Mon, Feb 12, 2001 at 08:55:31AM -0500, Bruce Momjian wrote:
> > I have added  #include <unistd.h>.   Let me know if that helps.
>
> it works, thanks.
> there are still two warnings, but they don't hurt the program.
>
> oid2name.c: In function `sql_exec_dumpdb':
> oid2name.c:318: warning: passing arg 3 of `sql_exec' makes integer from pointer without a cast
> oid2name.c: In function `sql_exec_dumptable':
> oid2name.c:335: warning: passing arg 3 of `sql_exec' makes integer from pointer without a cast
>
> ciao,
> andrea
>


--
  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: Bruce Momjian
Date:
Subject: Re: ODBC Patch
Next
From: Dave Page
Date:
Subject: RE: ODBC Patch