Guest User

Untitled

a guest
Oct 11th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Connecting to database
  2. ->host='localhost' port='5432' dbname='sessions' user='postgres' password='xxxxx'
  3. CREATE TABLE IF NOT EXISTS dggrid (id BIGSERIAL PRIMARY KEY, gid bigint UNIQUE, geo geometry, center geometry, population int, employment int);
  4. Traceback (most recent call last):
  5. File "toolsset_up_db.py", line 22, in <module>
  6. cursor.execute(query)
  7. psycopg2.ProgrammingError: type "geometry" does not exist
  8. LINE 1: ...(id BIGSERIAL PRIMARY KEY, gid bigint UNIQUE, geo geometry, ...
  9. ^
Add Comment
Please, Sign In to add comment