Re: parser dilemma
От | Martijn van Oosterhout |
---|---|
Тема | Re: parser dilemma |
Дата | |
Msg-id | 20070419210449.GA31116@svana.org обсуждение исходный текст |
Ответ на | parser dilemma (Zoltan Boszormenyi <zb@cybertec.at>) |
Ответы |
Re: parser dilemma
|
Список | pgsql-hackers |
On Thu, Apr 19, 2007 at 11:19:40AM +0200, Zoltan Boszormenyi wrote: > >The problem comes from cases like > > > > colname coltype DEFAULT 5! GENERATED ... > > > >Since b_expr allows postfix operators, it takes one more token of > >lookahead than we have to tell if the default expression is "5!" > >or "5!GENERATED ...". ISTM that as long as: colname coltype DEFAULT (5!) GENERATED ... works I don't see why it would be a problem to require the parentheses in this case. Postfis operators are not going to be that common here I think. Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
В списке pgsql-hackers по дате отправления: