Re: v7.2.4 bundled ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: v7.2.4 bundled ...
Дата
Msg-id 19515.1043940362@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: v7.2.4 bundled ...  (Kevin Brown <kevin@sysexperts.com>)
Ответы Re: [PATCHES] v7.2.4 bundled ...  (Kevin Brown <kevin@sysexperts.com>)
Список pgsql-hackers
Kevin Brown <kevin@sysexperts.com> writes:
> I'm attaching a patch for 7.2.4's parser/gram.y that fixes all of
> bison 1.75's complaints.

But parser/gram.y is not the only .y file in the distribution.  To call
ourselves 1.75-safe, we'd have to go through this same exercise for
all of 'em:

$ find REL7_2 -name '*.y'
REL7_2/pgsql/contrib/cube/cubeparse.y
REL7_2/pgsql/contrib/seg/segparse.y
REL7_2/pgsql/src/backend/bootstrap/bootparse.y
REL7_2/pgsql/src/backend/parser/gram.y
REL7_2/pgsql/src/interfaces/ecpg/preproc/preproc.y
REL7_2/pgsql/src/pl/plpgsql/src/gram.y
$

And on top of that, 1.75 isn't the current bison release anymore; the
one that is current has changed the spelling of syntax error messages,
which means that the regression tests will fail (and perhaps clients
that are looking for syntax errors, too).  We have agreed how to fix
this in HEAD, but not actually done it yet --- shall we put that
not-even-written-let-alone-tested code into 7.2.4 as well?

I think it's best to leave well enough alone.  The tarball ships with
working bison output files anyway, so all of this really only matters
to people trying to build 7.2.* from a CVS pull.

            regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Linux.conf.au 2003 Report
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: PostgreSQL, NetBSD and NFS