Re: best way for export gram.y symbols - Mailing list pgsql-hackers

From Tom Lane
Subject Re: best way for export gram.y symbols
Date
Msg-id 6459.1207248813@sss.pgh.pa.us
Whole thread Raw
In response to best way for export gram.y symbols  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: best way for export gram.y symbols  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> I would to use main scanner from plpgsql. I need some values from parser/parse.h

> #define SELECT 543
> #define PARAM 642

No, you don't.  Whatever you think you need those for, there's probably
a better way to do it.  We got out of the business of letting anything
but scan.c and gram.c depend on Bison symbol numbers years ago, and
I don't much want to re-introduce that dependency.

What exactly are you trying to accomplish?
        regards, tom lane


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: psql \G command -- send query and output using extended format
Next
From: Tom Lane
Date:
Subject: Re: Locale, Collation, ICU patch