Re: CURRENT/OLD keywords still broken

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: CURRENT/OLD keywords still broken
Дата
Msg-id Pine.LNX.4.30.0012160038080.1319-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: CURRENT/OLD keywords still broken  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian writes:

> > peter=# select 1 as current;
> >  old
> > -----
> >    1
> >
> > This is now the inverse of what it used to do, but it's still not what it
> > *should* do.  I see someone already tried to fix that (keywords.c 1.76 ->
> > 1.77, TODO list), but he should try again.
>
> That was me.  The old code did old -> current, so I changed it to do
> current -> old.  How else can I fix this?  Attached is the old patch.

Maybe add another branch into the SpecialRuleRelation grammar rule with
CURRENT instead of OLD.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: 7.1 (current) unwanted NOT NULL constraint inserted
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CURRENT/OLD keywords still broken