Help with gram.y (UNDER)

From: Chris Bitmead <chris(at)bitmead(dot)com>
To: Postgres Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Help with gram.y (UNDER)
Date: 2000-05-24 13:10:23
Message-ID: 392BD4BF.F305160C@bitmead.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-24 13:33:59 Re: Help with gram.y (UNDER)
Previous Message Olivier PRENANT 2000-05-24 12:45:02 Perl 5.6.0