From 5b671e54da53f3677ee07cf9769196ae4efab240 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20Rodr=C3=ADguez?=
 <alvarorodriguez.garcia@datadoghq.com>
Date: Thu, 26 Mar 2026 17:56:17 +0100
Subject: [PATCH v1 1/1] Update the SET statement documentation for clarity
 when using SCHEMA and NAMES

Added a new variant to the SET statement to include the special syntax for SET SCHEMA and SET NAMES.
---
 doc/src/sgml/ref/set.sgml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 16c7e9a7b26..63843a6b85c 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -22,6 +22,7 @@ PostgreSQL documentation
  <refsynopsisdiv>
 <synopsis>
 SET [ SESSION | LOCAL ] <replaceable class="parameter">configuration_parameter</replaceable> { TO | = } { <replaceable class="parameter">value</replaceable> [, ...] | DEFAULT }
+SET [ SESSION | LOCAL ] [ SCHEMA | NAMES ] { '<replaceable class="parameter">value</replaceable>' }
 SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="parameter">value</replaceable> | LOCAL | DEFAULT }
 </synopsis>
  </refsynopsisdiv>
-- 
2.52.0

