RE: Issue: Creating Symlink for data directory of postgresql inCentOS7
От | Chatterjee, Shibayan |
---|---|
Тема | RE: Issue: Creating Symlink for data directory of postgresql inCentOS7 |
Дата | |
Msg-id | d0820fe46f014f04874a663e75bad065@level3.com обсуждение исходный текст |
Ответ на | Re: Issue: Creating Symlink for data directory of postgresql in CentOS7 (Luca Ferrari <fluca1978@gmail.com>) |
Список | pgsql-general |
Luca, Here's what I modified the $PGDATA to: >>> Environment=PGDATA=/data/postgresql/data -Shibayan -----Original Message----- From: Luca Ferrari <fluca1978@gmail.com> Sent: Friday, July 12, 2019 11:03 AM To: Laurenz Albe <laurenz.albe@cybertec.at> Cc: Chatterjee, Shibayan <shibayan.chatterjee@level3.com>; pgsql-general@postgresql.org Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7 On Fri, Jul 12, 2019 at 4:47 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote: > So there is some "postgresql-check-db-dir" (not part of PostgreSQL) > that complains that there is nothing in /data/postgresql/data. Is that accurate? > According to this <https://www.postgresql.org/message-id/attachment/34217/postgresql-check-db-dir> the script should check PGDATA does exist and contain the PG_VERSION file or complains as shown in the logs. > It looks like you succeeded in getting the startup process to look for > the PostgreSQL data directory in the new location, but - alas - there > is no data directory there yet.What's the content of What's the content of $PGDATA? Luca This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized useof this communication is strictly prohibited and may be unlawful. If you have received this communication in error, pleaseimmediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
В списке pgsql-general по дате отправления: