max_prepared_transactions is a GUC determining the maximum number of prepared transactions which can exist simultaneously.
Default value for
On a standby,
max_prepared_transactions must be set to the same or higher value as on the primary.
The documentation recommends setting
max_prepared_transactions to be at least as large as
max_connections, though this is not mandatory.