Re: best way for export gram.y symbols

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "PG Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: best way for export gram.y symbols
Date: 2008-04-03 18:53:33
Message-ID: 6459.1207248813@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-03 19:03:34 Re: Locale, Collation, ICU patch
Previous Message David Fetter 2008-04-03 18:43:30 Re: psql \G command -- send query and output using extended format