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

pgsql-patches by date

Next:From: Dave PageDate: 2001-02-12 19:42:44
Subject: RE: ODBC Patch
Previous:From: Bruce MomjianDate: 2001-02-12 18:32:01
Subject: Re: ODBC Patch

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