Re: Trouble creating extensions: postgis and postgis_topology

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Trouble creating extensions: postgis and postgis_topology
Дата
Msg-id CAKFQuwbWpd1DXA_YY3zXRKGKKLL1ZTi9MHDQ15zJ8ufVBwVJEA@mail.gmail.com
обсуждение исходный текст
Ответ на Trouble creating extensions: postgis and postgis_topology  ("Zeng, David (GE Healthcare)" <david.zeng@ge.com>)
Ответы Trouble creating extensions: postgis and postgis_topology  ("Zeng, David (GE Healthcare)" <david.zeng@ge.com>)
Список pgsql-admin
On Thu, Mar 8, 2018 at 12:41 PM, Zeng, David (GE Healthcare) <david.zeng@ge.com> wrote:

Hello, my friends, I am configuring PostGIS for the database restore. I ran the following sequence successfully on a brand new database yesterday afternoon:

 

CREATE SCHEMA postgis;

ALTER DATABASE dz5 SET search_path="$user", public, postgis,topology;

GRANT ALL ON SCHEMA postgis TO public;

CREATE EXTENSION postgis WITH SCHEMA postgis;

CREATE EXTENSION postgis_topology;

 

However, I got the following error when it get to “CREATE EXTENSION postgis_topology;” step today:

 

ERROR:  type "geometry" does not exist

 

Any thoughts? Has any one of you experienced this before?


​You've altered the database default search_path but haven't actually changed it in the active session.  You either need to do "set search_path" or, after the alter database, disconnect and reconnect to the database.

David J.

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

Предыдущее
От: "Zeng, David (GE Healthcare)"
Дата:
Сообщение: Trouble creating extensions: postgis and postgis_topology
Следующее
От: "Zeng, David (GE Healthcare)"
Дата:
Сообщение: Trouble creating extensions: postgis and postgis_topology