diff --git a/doc/src/sgml/ref/create_aggregate.sgml b/doc/src/sgml/ref/create_aggregate.sgml
index d61a22e755..eaa410bc94 100644
--- a/doc/src/sgml/ref/create_aggregate.sgml
+++ b/doc/src/sgml/ref/create_aggregate.sgml
@@ -59,13 +59,13 @@ CREATE AGGREGATE name (
[ , FINALFUNC = ffunc ]
[ , FINALFUNC_EXTRA ]
[ , INITCOND = initial_condition ]
- [ , MSFUNC = sfunc ]
- [ , MINVFUNC = invfunc ]
- [ , MSTYPE = state_data_type ]
- [ , MSSPACE = state_data_size ]
- [ , MFINALFUNC = ffunc ]
+ [ , MSFUNC = msfunc ]
+ [ , MINVFUNC = minvfunc ]
+ [ , MSTYPE = mstate_data_type ]
+ [ , MSSPACE = mstate_data_size ]
+ [ , MFINALFUNC = mffunc ]
[ , MFINALFUNC_EXTRA ]
- [ , MINITCOND = initial_condition ]
+ [ , MINITCOND = minitial_condition ]
[ , SORTOP = sort_operator ]
)