Re: [PATCHES] generate_subscripts

2008-04-28 Thread Alvaro Herrera
Pavel Stehule escribió: > This patch contains generate_subscripts functions, that generate > series of array's subscripts of some dimension: Committed, thanks. -- Alvaro Herrerahttp://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. -- Sent

[PATCHES] generate_subscripts

2008-03-24 Thread Pavel Stehule
Hello This patch contains generate_subscripts functions, that generate series of array's subscripts of some dimension: postgres=# create or replace function unnest2(anyarray) returns setof anyelement as $$ select $1[i][j] from generate_subscripts($1,1) g1(i), generate_subscripts($1,2)