2009/7/28 Martijn van Oosterhout <kleptog(at)svana(dot)org>:
> On Tue, Jul 28, 2009 at 10:53:08PM +0200, Pavel Stehule wrote:
>> I would to solve some points from ToDo. I began with TYPE  support.
>> I thing, so this should be relative simple, but there are one issue.
>> My first idea is using word element:
>> create or replace function x(a int)
>> declare f a%element;
> I would have thought:
> declare f a%type;
> as in: the type of a. Perhaps a%type but that seems less natural.
It's clean so a means element of array, but why zero. PostgreSQL
array should to start from any int value :(. And this syntax is little
bit difficult parserable.
What do you thing about:
f array of a%type;
x element of f%type;
> Have a nice day,
> Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
>> Please line up in a tree and maintain the heap invariant while
>> boarding. Thank you for flying nlogn airlines.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
In response to
pgsql-hackers by date
|Next:||From: Brendan Jurd||Date: 2009-07-29 15:36:15|
|Subject: Re: WIP: to_char, support for EEEE format|
|Previous:||From: Pavel Stehule||Date: 2009-07-29 15:25:53|
|Subject: Re: plpgsql: support identif%TYPE, (from ToDo)|