RE: database "cdf_100_1313" does not exist

Поиск
Список
Период
Сортировка
От Klint Gore
Тема RE: database "cdf_100_1313" does not exist
Дата
Msg-id MEAPR01MB22939B9D191D1146D55BC31FA4B70@MEAPR01MB2293.ausprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: database "cdf_100_1313" does not exist  (nikhil raj <nikhilraj474@gmail.com>)
Список pgsql-general

From: nikhil raj [mailto:nikhilraj474@gmail.com]
Sent: Tuesday, 10 September 2019 12:39 AM
To: Adrian Klaver
Cc: Tom Lane; Rob Sargent; Dan Livingston; Karsten Hilbert; pgsql-general@lists.postgresql.org
Subject: Re: database "cdf_100_1313" does not exist

 

 

> DBLIST=/usr/lib/postgresql/11/bin/psql -p 5432 -U postgres -d postgres -q -t -c "SELECT datname from pg_database where datname in ('CDF_100_1313')"

/usr/lib/postgresql/11/bin/psql -p 5432 -U postgres -d $DBLIST -c "GRANT CONNECT ON DATABASE \"$DBLIST\" TO cpupdate"

Ø  only in the grant its taking space rest in -d its perfectly all right.

 

Add –A to the options of the “select datname...” call to psql.  The aligned output is adding a space to the front of the value.

 

 

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

Предыдущее
От: Ayub M
Дата:
Сообщение: Re: pgbouncer with ldap
Следующее
От: Prakash Ramakrishnan
Дата:
Сообщение: pgrounting extension in 11