on
is recommended for new applications. Set to off
only if you need backward compatibility with very old PostgreSQL versions (pre-8.2) or have applications that expect the legacy behavior. For most modern applications, keeping this enabled provides better SQL standard compliance.safe_encoding
(allows except in client encoding that allows backslashes). For new applications, avoid relying on backslash escaping. Set to on
only for legacy application compatibility. Use standard SQL quoting (two single quotes) for new development.on
is recommended. Keep enabled to catch potential compatibility issues during development. The warnings help identify code that should use escape string syntax (E'...') or standard SQL quoting instead of backslash escapes.off
is strongly recommended for security. Enable only temporarily during migration from pre-9.0 versions. Always update applications to use proper large object privileges rather than relying on this compatibility mode long-term.off
is appropriate for most applications. Enable only if you need to preserve case sensitivity in identifiers or have special character requirements. Be aware that quoted identifiers can make SQL code less portable and more difficult to read.on
is strongly recommended. This provides SQL standard compliance and better portability. Only disable if you need backward compatibility with very old applications that rely on the non-standard behavior. Use escape string syntax (E'...') when you need backslash escapes.on
is generally beneficial. Disable only if you experience performance issues with concurrent sequential scans or for testing purposes. For most workloads, the synchronization provides better overall performance by reducing redundant I/O.Start your journey toward a healthier PostgreSQL with pghealth.
You can explore all features immediately with a free trial β no installation required.
π Start Free Trial