Hi,

I am testing pg_restore_extended_stats(), and noticed an mistake in the doc:

```
SELECT pg_restore_extended_stats(
    'schemaname',            'tab_schema',
    'relname',               'tab_name',
    'statistics_schemaname', 'stats_schema',
    'statistics_name',       'stats_name',
    'inherited',             false,
    'n_distinct',            '[{"attributes" : [2,3], "ndistinct" : 
4}]'::pg_ndistinct); <== “);” should be “,"
    'dependencies',          '{"2 => 1": 1.000000, "2 => -1": 1.000000, "2 => 
-2": 1.000000}'::pg_dependencies,
    'exprs',                 '[
```

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/




Attachment: v1-0001-doc-fix-pg_restore_extended_stats-example-syntax.patch
Description: Binary data

Reply via email to