Opened 15 years ago
Closed 15 years ago
#248 closed defect (invalid)
AddGeometry appears to be broken
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
I think this is as a result of incorporating geography stuff. I tested against my old 1.5 build and I think this works, but running torture test -- its screaming. On my new install with geography -- it gives
ERROR: AddGeometryColumns() - invalid SRID CONTEXT: SQL statement "SELECT AddGeometryColumn(,, $1 , $2 , $3 , $4 , $5 )" PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement
Here is the test
CREATE TABLE pgis_garden (gid serial); SELECT AddGeometryColumn('pgis_garden','the_geom',4326,'POLYGON',3);
Is this an intentional break?
Note:
See TracTickets
for help on using tickets.
My fault. forgot to load in the spatial ref sys table. Sorry about that.