SHOW(7)
โจ SHOW(7) โจ
okay bestie, welcome to the glow-up era of your run-time parameters ๐
This is the SHOW page from the PostgreSQL 18.6 Documentation โ yes, the whole thing, no crumbs left behind. Let's get into it ๐ซถ
๐ธ NAME ๐ธ
SHOW โ show the value of a run-time parameter ๐
๐ SYNOPSIS ๐
SHOW name
SHOW ALL
๐ฆ DESCRIPTION ๐ฆ
SHOW will display the current setting of run-time parameters. It's giving "peek behind the curtain" energy and we're obsessed ๐ชโจ
And where do those settings even come from, you ask? Bestie, they can be set using the SET statement, by editing the postgresql.conf configuration file, through the PGOPTIONS environmental variable (when you're using libpq or a libpq-based application), or through command-line flags when starting the postgres server. See Chapter 19 for details ๐๐
๐ PARAMETERS ๐
nameโ the name of a run-time parameter. Available parameters are documented in Chapter 19 and on theSET(7)reference page. In addition, there are a few parameters that can be shown but not set โ yes, read-only icons, they simply don't take requests ๐:SERVER_VERSIONโ shows the server's version number. It's giving "who am I" but make it official ๐ท๏ธSERVER_ENCODINGโ shows the server-side character set encoding. At present, this parameter can be shown but not set, because the encoding is determined at database creation time. So likeโฆ the vibes were locked in at birth, no re-editing ๐๐ธIS_SUPERUSERโTrueif the current role has superuser privileges. Main character check โ ๐
ALLโ show the values of all configuration parameters, with descriptions. The whole fit, every piece, laid out ๐งโจ
โญ NOTES โญ
The function current_setting produces equivalent output; see Section 9.28.1. Also, the pg_settings system view produces the same information. Three paths, same destination, we love a consistent queen ๐๐ซ
๐ EXAMPLES ๐
Show the current setting of the parameter DateStyle:
SHOW DateStyle;
DateStyle
-----------
ISO, MDY
(1 row)
Show the current setting of the parameter geqo:
SHOW geqo;
geqo
------
on
(1 row)
Show all settings:
SHOW ALL;
name | setting | description
-------------------------+---------+-------------------------------------------------
allow_system_table_mods | off | Allows modifications of the structure of ...
.
.
.
xmloption | content | Sets whether XML data in implicit parsing ...
zero_damaged_pages | off | Continues processing past damaged page headers.
(196 rows)
196 rows?? the way that SHOW ALL ate and left zero crumbs ๐ญ๐ฅ
๐ COMPATIBILITY ๐
The SHOW command is a PostgreSQL extension. Not standard SQL, just our girl doing her own thing, and honestly? iconic behavior ๐
๐ซถ SEE ALSO ๐ซถ
SET(7), RESET(7) โ go read the rest of the friend group, they're all connected besties fr fr โจ
and that's a wrap on the SHOW page, babes โ this was PostgreSQL 18.6, documented in 2026, filed under SHOW(7) ๐ธ๐ slay, go check your settings ๐
๐ฆ where this page comes from
- alpine 3.23: postgresql18-doc 18.6-r0 ยท PostgreSQL
- alpine 3.24: postgresql18-doc 18.6-r0 ยท PostgreSQL
- arch rolling: postgresql 18.6-4 ยท PostgreSQL
- fedora 43: postgresql 18.6-1.fc43 ยท PostgreSQL
- fedora 43: postgresql 18.6-1.fc43 ยท PostgreSQL
- fedora 44: postgresql 18.6-1.fc44 ยท PostgreSQL
- fedora 44: postgresql 18.6-1.fc44 ยท PostgreSQL
- nixos 26.05: postgresql 18.6
- ubuntu resolute: postgresql-client-18 18.6-0ubuntu0.26.04.1 ยท PostgreSQL
- ubuntu stonking: postgresql-client-18 18.6-3build2 ยท PostgreSQL
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms