Re: patch: plpgsql - access records with rec.(expr)

Поиск
Список
Период
Сортировка
От Matt
Тема Re: patch: plpgsql - access records with rec.(expr)
Дата
Msg-id 1101229039.4229.496.camel@matt.kynx.org
обсуждение исходный текст
Ответ на Re: patch: plpgsql - access records with rec.(expr)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> What about
>     for i in ...
>         ... new.(tg_argv[i]) ...

Ooof! <clutches chest, falls to ground groaning> Constants or digits or
nothing, then <gets up, dusts himself off>

> MHO: this is a really ugly wart on the language, and it does not solve
> the problems people would want to solve.  It might solve *your* problem
> but that's not enough to justify a wart of this size.

<falls down again> But my warts are beautiful!

OK, fair enough. I had to try.

> We do need to do something about the fact that EXECUTE can't access
> plpgsql variables, though I'm afraid that fixing that is going to
> require a rather complete overhaul of plpgsql :-(.  But it needs one
> anyway.

Look forward to seeing it.

Matt




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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Beta5 now Available
Следующее
От: Jeff Hoffmann
Дата:
Сообщение: Re: Beta5 now Available