Re: Bison crashes postgresql - Mailing list pgsql-hackers

From Hans-Juergen Schoenig -- PostgreSQL
Subject Re: Bison crashes postgresql
Date
Msg-id 4A9BD92C.7020706@cybertec.at
Whole thread Raw
In response to Re: Bison crashes postgresql  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Bison crashes postgresql  (Werner Echezuria <wercool@gmail.com>)
List pgsql-hackers
Andrew Dunstan wrote:
>
>
> 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
>

yes, this is the thing i had in mind as well.
what is your ultimate goal?
   many thanks,
      hans


-- 
Cybertec Schoenig & Schoenig GmbH
Reyergasse 9 / 2
A-2700 Wiener Neustadt
Web: www.postgresql-support.de



pgsql-hackers by date:

Previous
From: Hans-Juergen Schoenig -- PostgreSQL
Date:
Subject: Re: combined indexes with Gist - planner issues?
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Add YAML option to explain