Re: hint infrastructure setup (v3) - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: hint infrastructure setup (v3)
Date
Msg-id 200404021313.i32DDk203054@candle.pha.pa.us
Whole thread Raw
In response to Re: hint infrastructure setup (v3)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: hint infrastructure setup (v3)  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-patches
Fabien COELHO wrote:
> I would not like to break postgresql portability with other parser
> generators. It would be enough to reject the patch from my point of
> view;-)

We require bison to build, period. I am sure we use enough
bison-specific stuff now.  No one has suggested another parser generator
to support either.

>
> Using some non standard undocumented API would not help other people who
> would like to touch the parser.
>
> It would not help me either, because I would have to learn the
> undocumented API;-)
>
> I really need to give a name to the state so as to be able to attach a
> hint. I cannot set how I could guess the state number given after "GRANT"
> just from the source, and without generating lots of conflicts.
>
> So I'll do some more programming maybe over the week-end a resubmit
> something soon.

Please show us an example of what a typical hint would look like to the
user.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: hint infrastructure setup (v3)
Next
From: Fabien COELHO
Date:
Subject: Re: hint infrastructure setup (v3)