On Thu, Mar 21, 2024 at 11:46 AM Daniel Gustafsson <daniel@yesql.se> wrote:> However I noticed that comments on roles are also omitted from the dump, as if --no--comments flag was set - but it wasn't. Comments on roles are stored against the pg_authid catalog relationHi. What do you mean? COMMENTs are not stored *in* that relation.And AFAIK, only accessible via functions using the OID or NAME.So the relation used, pg_authid or pg_roles, shouldn't matter, no?
> However I noticed that comments on roles are also omitted from the dump, as if --no--comments flag was set - but it wasn't. Comments on roles are stored against the pg_authid catalog relation
```select ..., shobj_description(oid, 'pg_authid') from pg_roles...```
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных