Cannot run destroydb: ERROR: typeidTypeRelid: Invalid type - oid = 0

Поиск
Список
Период
Сортировка
Искать
От
Jan Kim
Тема
Cannot run destroydb: ERROR: typeidTypeRelid: Invalid type - oid = 0
Дата
Msg-id
19981208190139.A1190@mars.mpiz-koeln.mpg.de
Список
Дерево обсуждения
Cannot run destroydb: ERROR: typeidTypeRelid: Invalid type - oid = 0 Jan Kim <kim@mpiz-koeln.mpg.de>
Postgre security Adam Maddock <adam@maddock.ml.org>
Hi again,

After failing to compile PostgreSQL on our Alpha workstations with egcs,
I now switched to the "native" compiler and got a somewhat running system.
I can create a database and put something in it (just tried a few numbers),
but I cannot destroy it. I get this error message:

    ERROR:  typeidTypeRelid: Invalid type - oid = 0

More precisely, the command

    psql -tq -p 4711 -c "drop database postgres" template1

produces the error message mentioned above, and a nonzero exit status.
I tried adding a semicolon to the SQL statement, and I also tried running
it interactively, but I got the error in all cases.

Can you help me solve this problem?

Greetinx & thanx in advanve, Jan
-- 
 +- Jan T. Kim -------------------------------------------------------+
 |             email: kim@mpiz-koeln.mpg.de                           |
 |             WWW:   http://www.mpiz-koeln.mpg.de/~kim/              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*
В списке pgsql-admin по дате отправления
От: Murat Balkas
Дата:
От: Marc Eggenberger
Дата:
Сообщение: Compile Error on Linux
FAQ