Re: Bison crashes postgresql

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Werner Echezuria <wercool(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bison crashes postgresql
Date: 2009-08-31 14:00:50
Message-ID: 4A9BD792.1080007@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig -- PostgreSQL 2009-08-31 14:06:22 Re: combined indexes with Gist - planner issues?
Previous Message Jean-Paul Argudo 2009-08-31 13:59:40 Feature request : add REMAP_SCHEMA-like option to pg_restore