Package: postgresql-9.4-first-last-agg Source: first-last-agg Version: 0.1.4-4-gd63ea3b-2.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 42 Depends: postgresql-9.4 Homepage: https://github.com/wulczer/first_last_agg Priority: optional Section: database Filename: pool/main/f/first-last-agg/postgresql-9.4-first-last-agg_0.1.4-4-gd63ea3b-2.pgdg20.04+1_amd64.deb Size: 5464 SHA256: b7f84d202cc6231b1a5e2fbb0ad030cd194db9845549daa1012c5849bcbbd46e SHA1: 20c25616151370e4833ac3e2271bcfcad12440d4 MD5sum: f3a6fef891d22c24acbf1cd2ef9b688c Description: PostgreSQL extension providing first and last aggregate functions first-last-agg is a simple extension providing two aggregate functions, last and first, operating on any element type and returning the last or the first value of the group. . Since by default the ordering inside groups created by a GROUP BY expression is not defined, it is advisable to use an ORDER BY clause inside the aggregate expression (see the aggregate function syntax).