Re: [SQL] OFFSET impact on Performance??? - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: [SQL] OFFSET impact on Performance???
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A75F3@Herge.rcsinc.local
Whole thread Raw
Responses Re: [SQL] OFFSET impact on Performance???
List pgsql-performance
Greg Stark wrote:

> test=> create or replace function array_push (anyarray, anyelement)
> returns anyarray as 'select $1 || $2' language sql immutable strict;
> CREATE FUNCTION
> test=> create aggregate array_aggregate (basetype=anyelement,
> sfunc=array_push, stype=anyarray, initcond = '{}');
> CREATE AGGREGATE

what about
CREATE AGGREGATE array_accum (
    sfunc = array_append,
    basetype = anyelement,
    stype = anyarray,
    initcond = '{}'
);
?
Merlin

pgsql-performance by date:

Previous
From: PFC
Date:
Subject: Re: [SQL] OFFSET impact on Performance???
Next
From: Alexandre Leclerc
Date:
Subject: Re: Flattening a kind of 'dynamic' table