Back to Yugabyte Db

README

src/postgres/third-party-extensions/pgrx/pgrx-examples/aggregate/README.md

2026.1.0.0-b25243 B
Original Source

An example of how to create an Aggregate with pgrx.

Demonstrates how to create a IntegerAvgState aggregate.

This example also demonstrates the use of PgVarlena<T> and how to use #[pgvarlena_inoutfuncs] with #[derive(PostgresType)].