Tom Lane wrote: > No, it's cross *file* references within a single contrib module that > would be likely to need extern declarations in a header file. That's > not especially weird IMO. I'm not sure how many cases there actually > are though.
I went through the contrib moules and tried to look that up, and now I am even more confused than before. The buildfarm log at http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=thrips&dt=2016-10-12%2018%3A37%3A26 shows the build failing (among others) for contrib/tablefunc (close to the bottom end of the log). Now when I look at the source, there is only one C file, and the failing functions are *not* declared anywhere, neither in the C file nor in the (almost empty) header file. So it must be something other than double declaration that makes the build fail. Could it be that the .DEF files have something to do with that? Yours, Laurenz Albe -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers