This article lists parameters shared by PostgreSQL 17 and PostgreSQL 18 (Preview). Version-specific entries follow where their attributes or availability differ.
Template value is the configuration template's value, not a verification of your compute pool's effective value. A hyphen (-) means the template doesn't declare the attribute. It doesn't mean that a parameter is writable or dynamic.
For your compute pool's configured and effective values, see List and filter parameters.
The article includes vacuum and freezing parameters for both versions. PostgreSQL 18 (Preview) also has vacuum_max_eager_freeze_failure_rate and vacuum_truncate.
Shared parameters
bytea_output
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the output format for bytea. |
| Data type |
enumeration |
| Template value |
hex |
| Allowed values |
escape,hex |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
check_function_bodies
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE. |
| Data type |
boolean |
| Template value |
on |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
client_min_messages
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the message levels that are sent to the client. Each level includes all the levels that follow it. The later the level, the fewer messages are sent. |
| Data type |
enumeration |
| Template value |
notice |
| Allowed values |
log,notice,warning,error |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
createrole_self_grant
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets whether a CREATEROLE user automatically grants the role to themselves, and with which options. |
| Data type |
string |
| Template value |
"" |
| Allowed values |
^(\|set\|inherit\|set,inherit\|inherit,set)$ |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
default_table_access_method
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the default table access method for new tables. |
| Data type |
string |
| Template value |
heap |
| Allowed values |
.* |
| Read-only |
Yes |
| Parameter type |
read-only |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
default_toast_compression
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the default compression method for compressible values. |
| Data type |
enumeration |
| Template value |
pglz |
| Allowed values |
lz4,pglz |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
default_transaction_deferrable
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the default deferrable status of new transactions. |
| Data type |
boolean |
| Template value |
off |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
default_transaction_isolation
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the transaction isolation level for each new transaction. |
| Data type |
enumeration |
| Template value |
read committed |
| Allowed values |
serializable,repeatable read,read committed,read uncommitted |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
default_transaction_read_only
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the default read-only status of new transactions. |
| Data type |
boolean |
| Template value |
off |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
event_triggers
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Enables event triggers. When enabled, event triggers fire for all applicable statements. |
| Data type |
boolean |
| Template value |
on |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
gin_pending_list_limit
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum size of the pending list for GIN index. |
| Data type |
integer |
| Template value |
4096 |
| Unit |
kB |
| Allowed values |
64-2097151 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
idle_in_transaction_session_timeout
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum allowed idle time between queries, when in a transaction. A value of 0 turns off the timeout. |
| Data type |
integer |
| Template value |
0 |
| Unit |
ms |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
idle_session_timeout
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum allowed idle time between queries, when not in a transaction. A value of 0 turns off the timeout. |
| Data type |
integer |
| Template value |
0 |
| Unit |
ms |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
lock_timeout
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum duration for waiting on a lock. A value of 0 turns off the timeout. |
| Data type |
integer |
| Template value |
0 |
| Unit |
ms |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
restrict_nonsystem_relation_kind
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Prohibits access to non-system relations of specified kinds. |
| Data type |
string |
| Template value |
"" |
| Allowed values |
^(\|foreign-table\|view\|foreign-table,view\|view,foreign-table)$ |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
row_security
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Enable row security. When enabled, row security applies to all users. |
| Data type |
boolean |
| Template value |
on |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
search_path
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the schema search order for names that aren't schema-qualified. |
| Data type |
string |
| Template value |
"$user", public |
| Allowed values |
[A-Za-z0-9."$,_ -]+ |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
statement_timeout
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum allowed duration of any statement. A value of 0 turns off the timeout. |
| Data type |
integer |
| Template value |
0 |
| Unit |
ms |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
temp_tablespaces
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the tablespaces to use for temporary tables and sort files. |
| Data type |
string |
| Template value |
"" |
| Allowed values |
[A-Za-z._]* |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
transaction_isolation
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the current transaction's isolation level. |
| Data type |
enumeration |
| Template value |
read committed |
| Allowed values |
serializable,repeatable read,read committed,read uncommitted |
| Read-only |
Yes |
| Parameter type |
read-only |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
transaction_timeout
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the maximum allowed duration of any transaction within a session (not a prepared transaction). A value of 0 turns off the timeout. |
| Data type |
integer |
| Template value |
0 |
| Unit |
ms |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_failsafe_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Age at which VACUUM triggers failsafe to avoid a wraparound outage. |
| Data type |
integer |
| Template value |
1600000000 |
| Allowed values |
0-2100000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_freeze_min_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Minimum age at which VACUUM should freeze a table row. |
| Data type |
integer |
| Template value |
50000000 |
| Allowed values |
0-1000000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_freeze_table_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Age at which VACUUM should scan whole table to freeze tuples. |
| Data type |
integer |
| Template value |
150000000 |
| Allowed values |
0-2000000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_multixact_failsafe_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Multixact age at which VACUUM triggers a failsafe to avoid a wraparound outage. |
| Data type |
integer |
| Template value |
1600000000 |
| Allowed values |
0-2100000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_multixact_freeze_min_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Minimum age at which VACUUM should freeze a MultiXactId in a table row. |
| Data type |
integer |
| Template value |
5000000 |
| Allowed values |
0-1000000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
vacuum_multixact_freeze_table_age
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Multixact age at which VACUUM should scan whole table to freeze tuples. |
| Data type |
integer |
| Template value |
150000000 |
| Allowed values |
0-2000000000 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
xmlbinary
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets how binary values are to be encoded in XML. |
| Data type |
enumeration |
| Template value |
base64 |
| Allowed values |
base64,hex |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
xmloption
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets whether XML data in implicit parsing and serialization operations is considered as documents or content fragments. |
| Data type |
enumeration |
| Template value |
content |
| Allowed values |
content,document |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
PostgreSQL 18 (Preview)
vacuum_max_eager_freeze_failure_rate (PostgreSQL 18)
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| Description |
Fraction of pages in a relation that vacuum can scan but fail to freeze before it disables eager scanning. A value of 0.0 disables eager scanning, and a value of 1.0 means vacuum eagerly scans up to 100% of the all-visible pages in the relation. If vacuum successfully freezes these pages, the cap is lower than 100% because the goal is to amortize page freezing across multiple vacuum runs. |
| Data type |
numeric |
| Template value |
0.03 |
| Allowed values |
0.0-1.0 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
vacuum_max_eager_freeze_failure_rate |
vacuum_truncate (PostgreSQL 18)
| Attribute |
Value |
| Category |
Client Connection Defaults / Statement Behavior |
| Description |
Enables vacuum to truncate empty pages at the end of the table. |
| Data type |
boolean |
| Template value |
on |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
vacuum_truncate |