Help with gram.y (UNDER) - Mailing list pgsql-hackers

From Chris Bitmead
Subject Help with gram.y (UNDER)
Date
Msg-id 392BD4BF.F305160C@bitmead.com
Whole thread Raw
List pgsql-hackers
Can someone give be a bit of help with gram.y to get this UNDER syntax
right? I did what I though was the obvious  syntax, but it no longer
accepts a plain create table after this change...

OptUnder: UNDER relation_name_list     { $$ = $2; }       | /*EMPTY*/       { $$ = NIL; } ;



CreateStmt:  CREATE OptTemp TABLE relation_name OptUnder '('
OptTableElementList ')' OptInherit        {                   /*etc */        }    ;

The full patch is here...
ftp://ftp.tech.com.au/pub/diff.x


pgsql-hackers by date:

Previous
From: Olivier PRENANT
Date:
Subject: Perl 5.6.0
Next
From: Chris Bitmead
Date:
Subject: Re: Help with gram.y (UNDER)