Re: oid2name silly patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: andrea gelmini <andrea(dot)gelmini(at)linux(dot)it>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: oid2name silly patch
Date: 2001-02-12 18:37:39
Message-ID: 200102121837.NAA10564@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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 19:42:44 RE: ODBC Patch
Previous Message Bruce Momjian 2001-02-12 18:32:01 Re: ODBC Patch