Package: postgresql-11-first-last-agg Source: first-last-agg Version: 0.1.4-4-gd63ea3b-7.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 51 Depends: postgresql-11, postgresql-11-jit-llvm (>= 10) Homepage: https://github.com/wulczer/first_last_agg Priority: optional Section: database Filename: pool/main/f/first-last-agg/postgresql-11-first-last-agg_0.1.4-4-gd63ea3b-7.pgdg20.04+1_amd64.deb Size: 8772 SHA256: 54b8dd8ea88d11a4c5d09042237839cc58a7bdafecde103139b531136164353d SHA1: d982d2a09231e78bfb9f9505eb98a8314ceaf72f MD5sum: 66b6ed8a83de596d6770dfcf59f9fa5e 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).