Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

site.ini [PostgreSQLWireSettings]

The settings of [PostgreSQLWireSettings] in site.ini: SSLMode, SSLRootCert, ConnectTimeout, ConnectAttempts, ConnectWait, SerializationRetries, RetryWait, ReconnectOnLoss ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/PostgreSQLWireSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
SSLRootCert=
*/ ?>

ConnectTimeout

Seconds libpq waits for one connection attempt

Default: empty.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
ConnectAttempts=
*/ ?>

ConnectWait

Default: empty.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
SerializationRetries=
*/ ?>

RetryWait

Default: 20.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Isolation=default
*/ ?>

ApplicationName

The program name the server shows (pg_stat_activity)

Default: Exponential.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Endpoint=
*/ ?>

Options

More libpq startup options (-c name=value ...); not sent behind a transaction pooler

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
Options=
*/ ?>

SessionStatements

More statements sent after every connect

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PostgreSQLWireSettings]
# an empty "SessionStatements[]" first replaces the shipped list; without it the items are added
SessionStatements[]
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x