Re: [HACKERS] Bug in gram.y?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: meskes(at)online-club(dot)de (Dr(dot) Michael Meskes)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Bug in gram.y?
Date: 1998-08-03 18:19:44
Message-ID: 199808031820.OAA03170@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> It appears to me that there is a bug in gram.y. From looking at the code
> (while working on ecpg) it seems that it doesn't accept a createdb with th
> eoption: with location = ... but without the option with encoding = ...

Looks fine to me:

opt_database1: LOCATION '=' location { $$ = $3; }
| /*EMPTY*/ { $$ = NULL; }
;

opt_database2: ENCODING '=' encoding { $$ = $3; }
| /*EMPTY*/ { $$ = NULL; }
;

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1998-08-03 19:10:51 Text indexes...
Previous Message Peter T Mount 1998-08-03 17:46:54 Re: [HACKERS] initdb problems