Re: Problem with server/utils/snapmgr.h

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem with server/utils/snapmgr.h
Date: 2008-04-22 15:45:02
Message-ID: 20080422154502.GA6912@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Browne wrote:

> And I was trying to build against CVS HEAD (for both projects ;-)) and
> observed it:
>
> cbbrowne(at)dba2:CMD/slony1-HEAD/src/backend> make
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic -I/opt/OXRS/dbs/pgsql84-beta/include/ -I/opt/OXRS/dbs/pgsql84-beta/include/server/ -c -o slony1_funcs.o slony1_funcs.c
> slony1_funcs.c: In function '_Slony_I_createEvent':
> slony1_funcs.c:142: error: 'SerializableSnapshot' undeclared (first use in this function)
> slony1_funcs.c:142: error: (Each undeclared identifier is reported only once
> slony1_funcs.c:142: error: for each function it appears in.)
>
> The definition for SerializableSnapshot has moved from
> server/utils/tqual.h to server/utils/snapmgr.h

Well, considering that my next patch proposes removing
SerializableSnapshot altogether, I think Slony will need some
rejiggering.

What do you need SerializableSnapshot for? Perhaps this is reason
enough not to remove it (but I doubt it.) Please point me to an online
copy of slony1_funcs.c.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-22 15:46:27 Re: port/thread.c and pthreads
Previous Message Zoltan Boszormenyi 2008-04-22 15:19:11 Re: TRUNCATE TABLE with IDENTITY