Re: Bison crashes postgresql - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Bison crashes postgresql
Date
Msg-id 4A9BD792.1080007@dunslane.net
Whole thread Raw
In response to Bison crashes postgresql  (Werner Echezuria <wercool@gmail.com>)
Responses Re: Bison crashes postgresql
List pgsql-hackers

Werner Echezuria wrote:
> Hi, I have a code in which I translate some code from sqlf to sql, but
> when it comes to yy_parse the server crashes, I have no idea why,
> because it works fine in other situations.
>   

I don't understand why you're doing what you're doing this way. Wouldn't 
it be better to patch the main postgres parser and make your 
functionality first class rather than having it run via an SQL string 
and a function that calls a secondary parser?

cheers

andrew




pgsql-hackers by date:

Previous
From: Jean-Paul Argudo
Date:
Subject: Feature request : add REMAP_SCHEMA-like option to pg_restore
Next
From: Hans-Juergen Schoenig -- PostgreSQL
Date:
Subject: Re: combined indexes with Gist - planner issues?