Re: Alternate Datafile Location

Поиск
Список
Период
Сортировка
От Sam Stearns
Тема Re: Alternate Datafile Location
Дата
Msg-id CAN6TVjm_ri4B5TRjuu-w3=OWoFPb+9Me1_zma8uDi0p4CTyALg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Alternate Datafile Location  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: Alternate Datafile Location
Re: Alternate Datafile Location
Список pgsql-admin
[postgres@thiludbapql01 ~]$ createdb baptest -D /PGDATA
createdb: error: database creation failed: ERROR:  tablespace "/PGDATA" does not exist
[postgres@thiludbapql01 ~]$


The directory /PGDATA exists.

[postgres@thiludbapql01 ~]$ df -h /PGDATA
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/pgdatavg-pgdatavol  2.3T   28K  2.2T   1% /PGDATA
[postgres@thiludbapql01 ~]$

On Fri, Aug 30, 2024 at 9:03 AM Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Aug 29, 2024, at 5:29 PM, Sam Stearns <sam.stearns@dat.com> wrote:
>
> That's fine as long as we can create databases with datafile storage on an alternate filesystem.  I don't see anywhere in the documentation how to do that.

-D <directory>


--

Samuel Stearns
Lead Database Administrator
c: 971 762 6879 | o: 503 672 5115 | DAT.com

DAT

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