v1-0001-doc-fix-pg_restore_extended_stats-example-syntax.patch

application/octet-stream

Filename: v1-0001-doc-fix-pg_restore_extended_stats-example-syntax.patch
Type: application/octet-stream
Part: 0
Message: doc: fix pg_restore_extended_stats() example syntax

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v1-0001
Subject: doc: fix pg_restore_extended_stats() example syntax
File+
doc/src/sgml/func/func-admin.sgml 1 1
From 740e3634f8ee75812902ef147d3f06b2bfbc0d47 Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Fri, 15 May 2026 17:26:37 +0800
Subject: [PATCH v1] doc: fix pg_restore_extended_stats() example syntax

Author: Chao Li <lic@highgo.com>
---
 doc/src/sgml/func/func-admin.sgml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/sgml/func/func-admin.sgml b/doc/src/sgml/func/func-admin.sgml
index 72038fc835f..0eae1c1f616 100644
--- a/doc/src/sgml/func/func-admin.sgml
+++ b/doc/src/sgml/func/func-admin.sgml
@@ -2205,7 +2205,7 @@ SELECT pg_restore_extended_stats(
     'statistics_schemaname', 'stats_schema',
     'statistics_name',       'stats_name',
     'inherited',             false,
-    'n_distinct',            '[{"attributes" : [2,3], "ndistinct" : 4}]'::pg_ndistinct);
+    'n_distinct',            '[{"attributes" : [2,3], "ndistinct" : 4}]'::pg_ndistinct,
     'dependencies',          '{"2 => 1": 1.000000, "2 => -1": 1.000000, "2 => -2": 1.000000}'::pg_dependencies,
     'exprs',                 '[
                                {
-- 
2.50.1 (Apple Git-155)