Skip site navigation (1) Skip section navigation (2)

Re: Bison crashes postgresql

From: Hans-Juergen Schoenig -- PostgreSQL <postgres(at)cybertec(dot)at>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Werner Echezuria <wercool(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bison crashes postgresql
Date: 2009-08-31 14:07:40
Message-ID: (view raw or whole thread)
Lists: 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,


Cybertec Schoenig & Schoenig GmbH
Reyergasse 9 / 2
A-2700 Wiener Neustadt

In response to


pgsql-hackers by date

Next:From: Greg Sabino MullaneDate: 2009-08-31 14:15:08
Subject: Re: Add YAML option to explain
Previous:From: Hans-Juergen Schoenig -- PostgreSQLDate: 2009-08-31 14:06:22
Subject: Re: combined indexes with Gist - planner issues?

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group