Christopher Browne cbbrowne at ca.afilias.info
Fri Feb 27 08:46:12 PST 2009
Tom Lane <tgl at sss.pgh.pa.us> writes:
> 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.

It's probable, with P("needs catalog/pg_type.h") = 1
  :-)

That one change resolves this issue.

I don't think it makes sense to do any extra release work surrounding
this; I'll certainly commit this to CVS posthaste, and we'll need to
release 2.0.2 on or before when PostgreSQL 8.4 is released :-).
-- 
output = reverse("gro.mca" "@" "enworbbc")
http://linuxfinances.info/info/advocacy.html
"What   is  the  purpose   of  a   person  acquiring   perfect  French
pronunciation if they  have nothing of value to  say in any language?"
-- Walter Ong


More information about the Slony1-hackers mailing list