Re: [HACKERS] Bug in gram.y? - Mailing list pgsql-hackers

From t-ishii@sra.co.jp
Subject Re: [HACKERS] Bug in gram.y?
Date
Msg-id 199808040231.LAA25087@srapc451.sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] Bug in gram.y?  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
>> > it seems that it doesn't accept a createdb with the
>> > option location = ... but without the option encoding = ...
>
>I think the code is sub-optimal for a couple of reasons:
>
>1) LOCATION must be the first argument, ENCODING must be the second. The
>number and order of any options should be flexible.
>
>2) the options should have a comma delimiter between them. Currently
>they do not. To introduce the comma delimiter will require restructuring
>that part of the parsing, but isn't a big deal.
>
>I'm pretty sure that the options can be specified individually, but it
>does not generalize well. The two specific problems above should be
>considered fatal for a final version :/
>
>I've worked through problems like this for other SQL92 syntax, and can
>probably fix up this one too. Will put it on my list unless someone else
>wants it...

I'm responsible for that problem. But seems you have a better
solution. Please take it.
--
Tatsuo Ishii
t-ishii@sra.co.jp




pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Bug in gram.y?
Next
From: Bruce Momjian
Date:
Subject: Re: [PG95-DEV] Rule system