Re: Why do OLD and NEW have special internal names?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Why do OLD and NEW have special internal names?
Дата
Msg-id 4AF700BC.3060507@agliodbs.com
обсуждение исходный текст
Ответ на Why do OLD and NEW have special internal names?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom,

> BTW, this brings up another point, which is that up to now it's often
> been possible to use plpgsql variable names that conflict with
> core-parser reserved words, so long as you didn't need to use the
> reserved word with its special meaning.  That will stop working when
> this patch goes in.  Doesn't bother me any, but if anyone thinks it's
> a serious problem, speak now.

Sounds like a potential *big* blocker to upgrading; anyone with several
thousand lines of plpgsql can't really afford to refactor away all of
the accidental uses of reserved words.

That being said, reusing reserved words in this way was always wonky, so
I'm not sure how many people will have done so.  Best way is to commit
it to alpha3, and try to get people to test.

--Josh Berkus


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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: [PATCH] tsearch parser inefficiency if text includes urls or emails - new version
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Typed tables