Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote

Поиск
Список
Период
Сортировка
От Srinath Reddy
Тема Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote
Дата
Msg-id CAFC+b6rKQEx3AmOJFJA5hgS2cwYDSWoc+wLh_SPoZJdz5hsF6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote  (Mahendra Singh Thalor <mahi6run@gmail.com>)
Список pgsql-hackers
./psql postgres

Hi,

On Fri, Mar 28, 2025 at 5:08 PM Mahendra Singh Thalor <mahi6run@gmail.com> wrote:

v04_001* has the changes for CREATE DATABASE/ROLE/USER and
v04_002* has the changes into pg_upgrade to give ALERTS for invalid names.

i have reviewed these patches,in v04_002* i think it would be better if log all the names like database ,roles/users names then throw error instead of just logging database names into db_role_invalid_names and throwing error,which helps the user to see at once all the invalid names and resolve then again try pg_upgrade,so here i am attaching delta patch for the same ,except this the patches LGTM.


May the force be with you,
Srinath Reddy Sadipiralla
EDB: https://www.enterprisedb.com/

postgres=# \q
Вложения

В списке pgsql-hackers по дате отправления: