Обсуждение: createdb rejects both relative and absolute paths with -D

Поиск
Список
Период
Сортировка

createdb rejects both relative and absolute paths with -D

От
daniel alvarez
Дата:
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!