create database name with location = 'path';

From: mlw <markw(at)mohawksoft(dot)com>
To: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: create database name with location = 'path';
Date: 2001-05-07 23:44:00
Message-ID: 3AF73340.66DE9136@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Al Dev 2001-05-07 23:44:20 PostgreSQL HOWTO Version 42.0 is available for public...
Previous Message Bruce Momjian 2001-05-07 23:36:13 Re: Isn't pg_statistic a security hole?