]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Fix example of pg_restore_extended_stats()
authorMichael Paquier <michael@paquier.xyz>
Sat, 16 May 2026 22:36:04 +0000 (07:36 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 16 May 2026 22:36:04 +0000 (07:36 +0900)
Oversight in ba97bf9cb7b4, probably due to an incorrect rebase.

Author: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/8A72720A-55AC-4D41-B9DF-5610307600E6@gmail.com

doc/src/sgml/func/func-admin.sgml

index 72038fc835f450ecb8bd191bd2c66b53f641a990..0eae1c1f61601cbc31854a4748146303d654db65 100644 (file)
@@ -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',                 '[
                                {