The fmgroids.h file was incorrectly being generated by shell script
Gen_fmgrtab.sh, so I had to fix the makefile so that instead of the shell script generating the .h
file, perl generated it:
#fmgroids.h fmgrtab.c: Gen_fmgrtab.sh
$(top_srcdir)/src/include/catalog/pg_proc.h # AWK='$(AWK)' $(SHELL) $<
$(top_srcdir)/src/include/catalog/pg_proc.h fmgroids.h fmgrtab.c: Gen_fmgrtab.pl
$(top_srcdir)/src/include/catalog/pg_proc.h perl $< $(top_srcdir)/src/include/catalog/pg_proc.h
in the /usr/local/src/pgsql/src/backend/utils/ directory. The fmgroids.h was being created with the basic
template,but none
of the DEFINES were populated, aside from the wrap-around defines: #ifndef FMGROIDS_H #define FMGROIDS_H
Make check showed no errors and everything seems ok now after that
one fix. This is working off of today's cvs.
> gawk --version
GNU Awk 3.1.5
> uname -a
Linux gnulou 2.6.17-co-0.8.0 #2 PREEMPT Wed Apr 25 22:15:57 CEST 2007
i686 GNU/Linux
> /usr/local/pgsql/bin/psql -U gnulou test
psql (8.5devel)