site.ini [PostgreSQLWireSettings]
The block [PostgreSQLWireSettings] of settings/site.ini, with 14 setting(s).
Databases of the PostgreSQL wire protocol (expPostgreSQLWireDB): DatabaseImplementation=cockroachdb, yugabytedb,
spanner, neon, supabase or aurorapostgresql. Server, Port, User, Password and Database come from [DatabaseSettings]. Each
database has a profile of defaults (expPostgreSQLWireProfile); a setting left empty keeps the profile's value.
Guide: doc/eng-us/features/6.0/postgresql-wire-databases.md
Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/site.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfor one siteaccess,extension/<extension>/settings/site.ini.append.phpin an extension (read when the extension is active).
SSLMode
disable, allow, prefer, require, verify-ca or verify-full; empty: the profile's (require for Neon, Supabase, Aurora)
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
SSLMode=
*/ ?>SSLRootCert
The CA file for verify-ca and verify-full (Aurora: the RDS global bundle)
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
SSLRootCert=
*/ ?>ConnectTimeout
Seconds libpq waits for one connection attempt
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ConnectTimeout=
*/ ?>ConnectAttempts
Attempts to connect (a Neon compute waking up, an Aurora failover) and the wait before the second (ms, doubled)
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ConnectAttempts=
*/ ?>ConnectWait
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ConnectWait=
*/ ?>SerializationRetries
How often a single statement outside a transaction is sent again after a serialization failure (40001) or a
deadlock (40P01), and the wait before the first retry (ms, longer each time)
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
SerializationRetries=
*/ ?>RetryWait
Default: 20.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
RetryWait=20
*/ ?>ReconnectOnLoss
enabled: a statement outside a transaction whose connection was lost runs again on a new connection
Default: enabled.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ReconnectOnLoss=enabled
*/ ?>Pooler
auto (from the host and port: Neon's -pooler host, Supabase's port 6543), none, session or transaction.
Behind a pooler in transaction mode no session statement is sent and INSERTs name their new id (RETURNING).
Default: auto.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Pooler=auto
*/ ?>Isolation
default (the profile's: READ COMMITTED on CockroachDB), read committed, repeatable read or serializable
Default: default.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Isolation=default
*/ ?>ApplicationName
The program name the server shows (pg_stat_activity)
Default: Exponential.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ApplicationName=Exponential
*/ ?>Endpoint
Neon: the endpoint id, for a client whose libpq sends no SNI (options=endpoint=<id>)
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Endpoint=
*/ ?>Options
More libpq startup options (-c name=value ...); not sent behind a transaction pooler
Default: empty.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Options=
*/ ?>SessionStatements
More statements sent after every connect
Default: an empty list.
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
# an empty "SessionStatements[]" first replaces the shipped list; without it the items are added
SessionStatements[]
*/ ?>Related
Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.