Re: Hacking gram.y Error syntax error at or near "MERGEJOIN"

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: HuangQi <huangqiyx(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hacking gram.y Error syntax error at or near "MERGEJOIN"
Date: 2011-06-02 12:16:31
Message-ID: 4DE77F1F.3070106@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/02/2011 03:28 AM, HuangQi wrote:
> Hi,
> I'm doing a hacking project which hacks the gram.y file and some
> other so that postgres can execute some query plan language to run a
> particular plan. I did some modifications and try run it. It compiled
> and installed successfully. But when I was trying to run a MergeJoin
> operation with keyword MERGEJOIN, it says "ERROR: syntax error at or
> near 'MERGEJOIN'". It seems postgres didn't recognize this keyword. Is
> it caused by any error inside gram.y? Or how can I trace this error?
>
>

Without seeing your grammar changes and the statement you're trying to
execute it's pretty much impossible to tell.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-06-02 12:39:39 Re: BLOB support
Previous Message Mark Kirkwood 2011-06-02 09:06:19 Re: Re: patch review : Add ability to constrain backend temporary file space