create database name with location = 'path';

Поиск
Список
Период
Сортировка
От mlw
Тема create database name with location = 'path';
Дата
Msg-id 3AF73340.66DE9136@mohawksoft.com
обсуждение исходный текст
Ответы Re: create database name with location = 'path';  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I have ALLOW_ABSOLUTE_DBPATHS enabled. but it does not do what one would
assume.

template1=# create database fubar with location = '/tmp'  ;
ERROR:  CREATE DATABASE: could not link '/postgres/data/base/12523613' to
'/tmp/base/12523613': Operation not permitted

Is this telling me it is creating the database as it always does, but is
linking it to the specified location ?

If so, what's the point of this?


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: CVS branch management (was Re: A problem with new pg_dump)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Isn't pg_statistic a security hole?