Re: building Postgresql-9.0.10 with patching MERGE keyword

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lelisa Diriba <lelisa0404(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: building Postgresql-9.0.10 with patching MERGE keyword
Date: 2017-06-28 14:26:45
Message-ID: 10279.1498660005@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lelisa Diriba <lelisa0404(at)gmail(dot)com> writes:
> I am trying to build with Patching MERGE statement or keyword in
> Postgresql 9.0.10 on ubuntu OS and am getting a couple errors related to
> bootstrap libraries.

9.0 is a bit old to be of any interest ...

> In file included from bootparse.y:420:0:
> bootscanner.l: In function 'boot_yylex':
> bootscanner.l:110:10: error: 'XFORCE' undeclared (first use in this
> function)

In 9.5 and up, I see this in bootparse.y:

%token XFORCE XNOT XNULL

but previous versions have neither that declaration nor any uses of
those symbols. I suspect you tried to back-patch a modern version
of bootscanner.l without also back-patching bootparse.y. Or maybe
you just need to remove and rebuild bootparse.c.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-06-28 17:24:03 protocol version negotiation (Re: Libpq PGRES_COPY_BOTH - version compatibility)
Previous Message Albe Laurenz 2017-06-28 13:53:25 Typo in comment in postgres_fdw.c