createdb rejects both relative and absolute paths with -D

From: daniel alvarez <d-alvarez(at)gmx(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: createdb rejects both relative and absolute paths with -D
Date: 2002-11-10 23:30:17
Message-ID: 31588.1036971017@www46.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


After upgrading the database from 7.2 to 7.2.2 both relative and absolute
paths
are not accepted by either createdb or SQL-CREATE. AFAIK our provider used a
default built.

Using createdb I created databases in custom locations everal times before,
and it
worked ('datenbank/db_cluster' being the relative location of the
database_cluster);

This context-independent output illustrates the problem.

immoma=# create database import with location =
'/usr/local/httpd/htdocs/kunden/web41/datenbank/db_cluster';
ERROR: Absolute paths are not allowed as database locations
immoma=# create database import with location = 'datenbank/db_cluster';
ERROR: Relative paths are not allowed as database locations

The environment is as follows:

Operating System (uname -a):
Linux julius64 2.4.14 #34 Wed Jan 23 17:41:57 MET 2002 i686 unknown

PostgreSQL Version (psql -V)
psql (PostgreSQL) 7.2
(although it should be 7.2.2 according to our provider)

--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

Browse pgsql-bugs by date

  From Date Subject
Next Message elein 2002-11-10 23:37:24 Re: Bug #812: can not compile 7.3b5 on Suse8.1 with perl
Previous Message pgsql-bugs 2002-11-10 22:43:53 Bug #812: can not compile 7.3b5 on Suse8.1 with perl