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