The catalog pg_aggregate stores
information about aggregate functions. An aggregate function is a
function that operates on a set of values (typically one column
from each row that matches a query condition) and returns a
single value computed from all these values. Typical aggregate
Each entry in pg_aggregate is an
extension of an entry in pg_proc. The
pg_proc entry carries the aggregate's
name, input and output data types, and other information that is
similar to ordinary functions.
Table 47-2. pg_aggregate Columns
|aggfnoid||regproc||pg_proc.oid||pg_proc OID of the aggregate function|
|aggfinalfn||regproc||pg_proc.oid||Final function (zero if none)|
|aggsortop||oid||pg_operator.oid||Associated sort operator (zero if none)|
|aggtranstype||oid||pg_type.oid||Data type of the aggregate function's internal transition (state) data|
|agginitval||text||The initial value of the transition state. This is a text field containing the initial value in its external string representation. If this field is null, the transition state value starts out null.|
Please use this form to add your own comments regarding your experience with particular features of PostgreSQL, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged. If you have a question or need help, please see the faq, try a mailing list, or join us on IRC. Note that submissions containing URLs or other keywords commonly found in 'spam' comments may be silently discarded. Please contact the webmaster if you think this is happening to you in error.
Proceed to the comment form.