Package: postgresql-17-first-last-agg Source: first-last-agg Version: 0.1.4-4-gd63ea3b-8.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 51 Depends: postgresql-17, postgresql-17-jit-llvm (>= 10) Homepage: https://github.com/wulczer/first_last_agg Priority: optional Section: database Filename: pool/main/f/first-last-agg/postgresql-17-first-last-agg_0.1.4-4-gd63ea3b-8.pgdg20.04+1_amd64.deb Size: 8828 SHA256: 64db69397cc3f45119588440815abe32f434dc24d2eeb843d9d872b5922371c5 SHA1: 669937dfa1dc6896036d9301682c63087c060a8c MD5sum: 25e1e83784b11c755bc358d2e0a14210 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).