Sha256: c7b95ba711c5a4eeebee16374dbed4142f808c82031cbb998bbf2d743341e3ce

Contents?: true

Size: 214 Bytes

Versions: 35

Compression:

Stored size: 214 Bytes

Contents

CREATE OR REPLACE FUNCTION unnest(anyarray)
  RETURNS SETOF anyelement AS
$BODY$
SELECT $1[i] FROM
    generate_series(array_lower($1,1),
                    array_upper($1,1)) i;
$BODY$
  LANGUAGE 'sql' IMMUTABLE

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
pg_search-1.0.6 sql/unnest.sql
pg_search-1.0.5 sql/unnest.sql
pg_search-1.0.4 sql/unnest.sql
pg_search-1.0.3 sql/unnest.sql
pg_search-1.0.2 sql/unnest.sql
pg_search-1.0.1 sql/unnest.sql
pg_search-1.0.0 sql/unnest.sql
pg_search-0.7.9 sql/unnest.sql
pg_search-0.7.8 sql/unnest.sql
pg_search-0.7.7 sql/unnest.sql
pg_search-0.7.6 sql/unnest.sql
pg_search-0.7.5 sql/unnest.sql
pg_search-0.7.4 sql/unnest.sql
pg_search-0.7.3 sql/unnest.sql
pg_search-0.7.2 sql/unnest.sql
pg_search-0.7.1 sql/unnest.sql
pg_search-0.7.0 sql/unnest.sql
pg_search-0.6.4 sql/unnest.sql
pg_search-0.6.3 sql/unnest.sql
pg_search-0.6.2 sql/unnest.sql