>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
> Chapman Flack <chap@anastigmatix.net> writes:
>> As for bringing it along to the modern API, am I on the right track
>> with writing a ParserSetupHook that's just a thin wrapper around
>> parse_variable_parameters ?
Tom> Seems reasonable from here.
That's what I did in pllua-ng. The tricky bit was in arranging to also
call check_variable_parameters; I considered skipping that part, but
that seemed like it could be potentially problematic.
https://github.com/pllua/pllua-ng/blob/master/src/spi.c#L266
--
Andrew (irc:RhodiumToad)