Package: postgresql-9.4-first-last-agg Source: first-last-agg Version: 0.1.4-4-gd63ea3b-2.pgdg18.04+1 Architecture: i386 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 34 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.pgdg18.04+1_i386.deb Size: 5500 SHA256: 6881f7cf8ee2ee329c20386ed63abc235d9a7df33d2c67fdaa777f3d52e20e20 SHA1: 8f75643d295482eb905585fd998f728cf5d51936 MD5sum: ec2057847df9e1a1fca9d2eb6579f116 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).