Re: proposal sql: labeled function params - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: proposal sql: labeled function params
Date
Msg-id 1219057192.8075.46.camel@huvostro
Whole thread Raw
In response to Re: proposal sql: labeled function params  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: proposal sql: labeled function params  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Mon, 2008-08-18 at 08:53 +0200, Pavel Stehule wrote:
> 2008/8/17 Hannu Krosing <hannu@2ndquadrant.com>:
> > On Sun, 2008-08-17 at 17:59 +0200, Pavel Stehule wrote:
> >> Hannu
> >>
> >> it's not possible in plpgsql, because we are not able iterate via record.
> >
> > just add function for iterating over record :)
> 
> it's not easy, when iterating should be fast - when record's field has
> different types, than isn't possible cache execution plan.

the iterator should convert them to some common type like TEXT

------------
Hannu




pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: any psql static binary for iphone ?
Next
From: Hannu Krosing
Date:
Subject: Re: [SPAM?]: Re: proposal sql: labeled function params