Re: pl/pgsql breakage in 8.1b4?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pl/pgsql breakage in 8.1b4?
Дата
Msg-id 26490.1130472600@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pl/pgsql breakage in 8.1b4?  (Philip Yarra <philip@utiba.com>)
Ответы Re: pl/pgsql breakage in 8.1b4?  (Philip Yarra <philip@utiba.com>)
Re: pl/pgsql breakage in 8.1b4?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
Philip Yarra <philip@utiba.com> writes:
> Without really wishing to volunteer myself: should plpgsql allow using 
> parameters with the same name as the columns being referred to within the 
> function, provided they're qualified as function_name.parameter?

No, because that just changes where the ambiguity is.  The function name
could easily conflict with a table name.  It's a mighty weird-looking
convention anyway --- on what grounds would you argue that the function
is a structure having parameter names as fields?
        regards, tom lane


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

Предыдущее
От: Philip Yarra
Дата:
Сообщение: Re: pl/pgsql breakage in 8.1b4?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)", File: "nbtsearch.c", Line: 89)