Tom Lane tgl at sss.pgh.pa.us
Fri Feb 27 07:39:19 PST 2009
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim at gunduz.org> writes:
> I'm getting this error while compiling Slony 2.0.1 against PostgreSQL
> 8.4 devel 20090207 snapshot:
> slony1_funcs.c:1283: error: 'TEXTOID' undeclared (first use in this function)
> slony1_funcs.c:1283: error: (Each undeclared identifier is reported only once
> slony1_funcs.c:1283: error: for each function it appears in.)
> slony1_funcs.c:1336: error: 'INT4OID' undeclared (first use in this function)

I'd bet this is happening because we made executor/spi.h stop including
the world:
http://archives.postgresql.org/pgsql-committers/2009-01/msg00100.php

Probably this file is #include'ing spi.h and expecting that to pull
in catalog/pg_type.h.  You should add additional #include's as needed.

			regards, tom lane


More information about the Slony1-hackers mailing list