Обсуждение: [ADMIN] New message pg_dumpall role skiped ???

Поиск
Список
Период
Сортировка

[ADMIN] New message pg_dumpall role skiped ???

От
Jorge Torralba
Дата:
Our jenkins job is now generating errors due to new warning messages from pg_dumpall.

We are now seeing the following:

pg_dumpall: role name starting with "pg_" skipped

Looking at the source looks like it was committed back in April. 

What was the reason for this and can the messages be suppressed?

Thanks

--
Thanks,

Jorge Torralba
----------------------------

Note: This communication may contain privileged or other confidential information. If you are not the intended recipient, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this email in error and delete the copy you received. Thank You.

Re: [ADMIN] New message pg_dumpall role skiped ???

От
Stephen Frost
Дата:
Greetings Jorge,

* Jorge Torralba (jorge.torralba@gmail.com) wrote:
> pg_dumpall: role name starting with "pg_" skipped

That message should also tell you what the role name was which was
skipped by pg_dumpall.

> Looking at the source looks like it was committed back in April.
>
> What was the reason for this and can the messages be suppressed?

This was added because it means that a role which exists in your pre-9.6
version of PG begins with "pg_" and is not included in the pg_dumpall
output.

The best way to address this is to rename your role to not include the
"pg_" prefix as that prefix is now reserved for system-defined roles
(just like schemas).

Thanks!

Stephen

Вложения

Re: [ADMIN] New message pg_dumpall role skiped ???

От
Jorge Torralba
Дата:
Thank you !

On Tue, Jan 31, 2017 at 9:28 AM, Stephen Frost <sfrost@snowman.net> wrote:
Greetings Jorge,

* Jorge Torralba (jorge.torralba@gmail.com) wrote:
> pg_dumpall: role name starting with "pg_" skipped

That message should also tell you what the role name was which was
skipped by pg_dumpall.

> Looking at the source looks like it was committed back in April.
>
> What was the reason for this and can the messages be suppressed?

This was added because it means that a role which exists in your pre-9.6
version of PG begins with "pg_" and is not included in the pg_dumpall
output.

The best way to address this is to rename your role to not include the
"pg_" prefix as that prefix is now reserved for system-defined roles
(just like schemas).

Thanks!

Stephen



--
Thanks,

Jorge Torralba
----------------------------

Note: This communication may contain privileged or other confidential information. If you are not the intended recipient, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this email in error and delete the copy you received. Thank You.