Re: freefuncs.c is never called from anywhere!?]

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: The Hermit Hacker <scrappy(at)hub(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: freefuncs.c is never called from anywhere!?]
Date: 2000-06-09 18:39:19
Message-ID: 200006091839.OAA21006@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Condon 2000-06-09 18:52:57 Re: Big project, please help
Previous Message Karel Zak 2000-06-09 18:14:14 Re: freefuncs.c is never called from anywhere!?