RESET(7)

πŸ“¦ version 15.19, in opensuse-leap 16.0

πŸ’… RESET(7) β€” PostgreSQL 15.19 manual page, bestie πŸ’…

okay so we're doing the RESET page and it's literally about putting run-time parameters back to their default values. Group chat, assemble. 🫢

🌸 NAME 🌸

RESET β€” restore the value of a run-time parameter to the default value. That's it. That's the whole assignment, and it slays. ✨

✨ SYNOPSIS ✨

RESET configuration_parameter
RESET ALL

πŸ’– DESCRIPTION πŸ’–

RESET restores run-time parameters to their default values. It's an alternative spelling for:

SET configuration_parameter TO DEFAULT

So yeah, if you know SET, this is lowkey the same energy. Refer to SET(7) for details, bestie. πŸ“š

The default value is defined as the value that the parameter would have had if no SET had ever been issued for it in the current session. The actual source of this value might be a compiled-in default, the configuration file, command-line options, or per-database or per-user default settings. This is subtly different from defining it as β€œthe value that the parameter had at session start”, because if the value came from the configuration file, it will be reset to whatever is specified by the configuration file now. See Chapter 20 for details. Iykyk. πŸŒ€

The transactional behavior of RESET is the same as SET: its effects will be undone by transaction rollback. So if you roll back, the reset is like "never happened, bestie." πŸ’€

πŸŽ€ PARAMETERS πŸŽ€

  • configuration_parameter β€” name of a settable run-time parameter. Available parameters are documented in Chapter 20 and on the SET(7) reference page. Yes, it's giving homework, but that's where the full list lives. πŸ“–
  • ALL β€” resets all settable run-time parameters to default values. All of them. No cap. Slay. πŸ‘‘

πŸ¦‹ EXAMPLES πŸ¦‹

Set the timezone configuration variable to its default value:

RESET timezone;

Cute. Iconic. Restored. πŸ•°οΈβœ¨

⭐ COMPATIBILITY ⭐

RESET is a PostgreSQL extension. Periodt. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


PostgreSQL 15.19, 2026 β€” RESET(7), signing off. stay default, bestie πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from