id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
33	AddGeometryColumns function does not check if SRID is valid	ktuszyn...@…		"

'''What steps will reproduce the problem?'''
1. create table sde.road_pg (ID integer, name varchar(32));
2. SELECT AddGeometryColumn( 'gis', 'road_pg','roads_geom', 3300, 'GEOMETRY
', 2 );


'''What is the expected output? What do you see instead?'''
an error message, as the value of 3300, is not a valid SRID value, the 
spatial_reference table only goes as far as 32766. Creating a spatial 
column and referencing a non existant SRID should not allow for a record 
to be inserted into the geometry_columns table.

'''What version of the product are you using? On what operating system?'''
PostGIS 1.3.2, on windows 2003 server

'''Please provide any additional information below.'''

 

"	defect	closed	medium		postgis		fixed		
