Re: freefuncs.c is never called from anywhere!?] - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: freefuncs.c is never called from anywhere!?]
Date
Msg-id 200006091839.OAA21006@candle.pha.pa.us
Whole thread Raw
In response to Re: freefuncs.c is never called from anywhere!?]  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> It's tough to maintain clear module APIs with tools like
> >> that second-guessing the author's intentions.
> 
> > Also, I don't touch the interfaces, only the backend code.  There aren't
> > many api stuff there, except spi, which I also don't touch.
> 
> I was talking about intermodule APIs within the backend...

Can you give an example?  You mean a function that is meant to be
exported to other modules in the backend, but is not called for some
reason should not be marked as static?

Yes, that is an issue, but reducing our code size and marking functions
static/NOT_USED seems to be a larger benfit.  Of course, IMHO.

--  Bruce Momjian                        |  http://www.op.net/~candle 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: freefuncs.c is never called from anywhere!?
Next
From: Paul Condon
Date:
Subject: Re: Big project, please help