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

From: Matt <matt(at)kynx(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: plpgsql - access records with rec.(expr)
Date: 2004-11-23 16:57:19
Message-ID: 1101229039.4229.496.camel@matt.kynx.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Hoffmann 2004-11-23 17:06:40 Re: Beta5 now Available
Previous Message Marc G. Fournier 2004-11-23 16:48:21 Re: Beta5 now Available