The last two times (including a snapshot from about 15 minutes ago)
I tried to build 7.4 with tablefunc I got compiler errors with
the output shown below.
I am running redhat 6.2 as my base distribution.

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include   -c tablefunc.c -o tablefunc.o
tablefunc.c: In function `build_tuplestore_recursively':
tablefunc.c:1166: `StringInfo' undeclared (first use in this function)
tablefunc.c:1166: (Each undeclared identifier is reported only once
tablefunc.c:1166: for each function it appears in.)
tablefunc.c:1166: parse error before `sql'
tablefunc.c:1174: warning: implicit declaration of function `appendStringInfo'
tablefunc.c:1174: `sql' undeclared (first use in this function)
tablefunc.c:1199: parse error before `branchstr'
tablefunc.c:1204: `branchstr' undeclared (first use in this function)
tablefunc.c:1204: warning: implicit declaration of function `makeStringInfo'
tablefunc.c:1207: `chk_branchstr' undeclared (first use in this function)
tablefunc.c:1208: `chk_current_key' undeclared (first use in this function)
tablefunc.c:1322: warning: implicit declaration of function `initStringInfo'
tablefunc.c:1197: warning: `current_branch' might be used uninitialized in this
function
make: *** [tablefunc.o] Error 1


Sun, 11 May 2003 09:45:38 -0500
Bruno Wolff III <bruno@wolff.to>
problem building tablefunc in 7.4
Bruno Wolff III <bruno@wolff.to> writes:
> The last two times (including a snapshot from about 15 minutes ago)
> I tried to build 7.4 with tablefunc I got compiler errors with
> the output shown below.

I think tablefunc is short an #include or two in CVS tip.  See recent
patch from Joe Conway.  Bruce and I are both behind on reviewing/committing
incoming patches :-( --- he's focusing on finishing the Win32 port, and
I on FE/BE protocol changes ...

			regards, tom lane


Sun, 11 May 2003 11:07:20 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: problem building tablefunc in 7.4 
On Sun, May 11, 2003 at 11:07:20 -0400,
  Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Bruno Wolff III <bruno@wolff.to> writes:
> > The last two times (including a snapshot from about 15 minutes ago)
> > I tried to build 7.4 with tablefunc I got compiler errors with
> > the output shown below.
> 
> I think tablefunc is short an #include or two in CVS tip.  See recent
> patch from Joe Conway.  Bruce and I are both behind on reviewing/committing
> incoming patches :-( --- he's focusing on finishing the Win32 port, and
> I on FE/BE protocol changes ...

OK. As long as someone knows about it. I am not actually using tablefunc
for the stuff I have running on the 7.4 DB so I don't need a fix right away.


Sun, 11 May 2003 12:47:52 -0500
Bruno Wolff III <bruno@wolff.to>
Re: problem building tablefunc in 7.4