Re: Extended Statistics set/restore/clear functions.
| От | jian he |
|---|---|
| Тема | Re: Extended Statistics set/restore/clear functions. |
| Дата | |
| Msg-id | CACJufxFo5b0FvmV4CmOb74NFrXm_znZHh7bLiiVkAzVzTnJiVw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Extended Statistics set/restore/clear functions. (Corey Huinker <corey.huinker@gmail.com>) |
| Ответы |
Re: Extended Statistics set/restore/clear functions.
|
| Список | pgsql-hackers |
hi.
v12-0001 and v12-0002 overall look good to me.
if (dependency->nattributes <= 1)
elog(ERROR, "invalid zero-length nattributes array in
MVDependencies");
This is an unlikely-to-happen error message, but still, “nattributes”
seems confusing?
in doc/src/sgml/func/func-json.sgml, we have \gset
<programlisting>
SELECT '{
.......
}
}' AS json \gset
</programlisting>
similarly, in doc/src/sgml/perform.sgml, I think the query should be:
SELECT stxkeys AS k, jsonb_pretty(stxdndistinct::text::jsonb) AS nd
FROM pg_statistic_ext join pg_statistic_ext_data on (oid = stxoid)
WHERE stxname = 'stts2' \gx
--
jian
https://www.enterprisedb.com/
В списке pgsql-hackers по дате отправления: