Opened 14 years ago
Closed 14 years ago
#661 closed defect (fixed)
Type info of geography columns incomplete - pg_dump output wrong
Reported by: | tider | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.3 |
Component: | postgis | Version: | 1.5.X |
Keywords: | geography pg_dump | Cc: |
Description
Steps to reproduce (using interactive psql):
test=# CREATE table test (geom geography(GEOMETRY,4326)); CREATE TABLE test=# \d test
Table "public.test"
Column | Type | Modifiers
geom | geography(4326) |
Note the wrong type "geography(4326)", it should be "geography(GEOMETRY,4326)". This type info is used by pg_dump as well, resulting in a failing CREATE TABLE statement.
Attachments (1)
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
The idea was that geography(geometry,4326) and geography(4326) would be equivalent. I will look and see if it's possible to make the create table statement more liberal.
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Again, nicer:
Steps to reproduce (using interactive psql):
Note the wrong type "geography(4326)", it should be "geography(GEOMETRY,4326)". This type info is used by pg_dump as well, resulting in a failing CREATE TABLE statement.