Sandro Santilli
648347b0bf
Added schema support in getMaxFieldSize.
...
Added direct support for TIMESTAMP field types (thanks to Steffen Macke).
git-svn-id: http://svn.osgeo.org/postgis/trunk@626 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-16 13:42:05 +00:00
Sandro Santilli
d6bd706981
documented statistics gethering operations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@625 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-16 13:14:01 +00:00
Sandro Santilli
67a454c777
fixed bogus support for PG71
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@624 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-14 08:06:13 +00:00
Sandro Santilli
9d41019efc
Histogram extent redefinition after hard deviant removal fixed to be
...
"at most" the standard deviation based computed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@623 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-14 07:48:10 +00:00
Sandro Santilli
7dcc881296
Infinite geometries handling.
...
Histogram extent re-computation after 'hard deviant' features removal.
git-svn-id: http://svn.osgeo.org/postgis/trunk@622 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-11 11:38:57 +00:00
Sandro Santilli
4d30d5978e
histogram grid size refined to use near-square cells.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@621 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-10 18:54:12 +00:00
Sandro Santilli
958e6db3b8
Added standard deviation based histogram extent refinement
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@620 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-10 15:44:43 +00:00
Sandro Santilli
65673bdeae
Separated the estimator code in an estimate_selectivity() function.
...
Handled complete contaiment and complete miss of histogram by searc box.
git-svn-id: http://svn.osgeo.org/postgis/trunk@619 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-10 13:42:17 +00:00
Sandro Santilli
54bceddacd
Moved changes needed for PG75 inside postgis_gist_72.c using #if switches.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@618 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 10:19:06 +00:00
Sandro Santilli
a58faec6da
Added switch for GIST_SUPPORT=75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@617 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 10:05:25 +00:00
Sandro Santilli
db5bd8e4fc
initial import
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@616 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 10:05:07 +00:00
Sandro Santilli
ee3f0d2a95
Removed partial pgsql List API copy
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@615 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 09:35:49 +00:00
Sandro Santilli
04154da283
changed index/rindex to strchr/strrchr
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@614 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 09:08:53 +00:00
Sandro Santilli
a771a7c00d
Added Romi's Win32 patches.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@613 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-09 09:06:55 +00:00
Sandro Santilli
699cf50eb1
Fixed to build cleanly agains pg75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@612 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 17:49:14 +00:00
Sandro Santilli
ed6ba65324
Compression of code terminated.
...
Big blocks switched based on version have been removed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@611 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 17:48:37 +00:00
Sandro Santilli
082df5df50
removed user connect command
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@610 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 17:40:34 +00:00
Sandro Santilli
63be1c3160
Deleted prototype for isspace() in postgis.h
...
and included <ctype.h> in postgis_inout.c,
which is the only module calling isspace().
This was needed to compile postgis against PG75(CVS).
git-svn-id: http://svn.osgeo.org/postgis/trunk@609 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 15:18:12 +00:00
Sandro Santilli
b06d9de91f
MODULE_FILENAME path always defaults to $libdir, but is overridable
...
using environment variable LPATH. Added comments about it and cleaned
up code. Made global and lwgeom Makefile conformant about this.
git-svn-id: http://svn.osgeo.org/postgis/trunk@608 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 08:42:25 +00:00
Sandro Santilli
35cc4f879f
added 'static' modifiers for the 'error' function, possibly clashing with some other declaration
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@607 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 08:20:40 +00:00
Sandro Santilli
3abc00c143
reverted change in lwg_parse_yyerror
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@606 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 17:58:53 +00:00
Sandro Santilli
1b00ba8ae3
Default MODULE_FILENAME uses $libdir unless LPATH is set in the environment
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@605 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 17:26:03 +00:00
Sandro Santilli
0f8fc8d7d4
Removed obsolete postgisgistcostestimate function creation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@604 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:57:35 +00:00
Sandro Santilli
7f398d0769
Removed postgis_old.sql from list of default rules
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@603 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:34:11 +00:00
Sandro Santilli
37ca3c79db
Moved old version-specific sql files under the Attic directory.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@602 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:32:26 +00:00
Sandro Santilli
b16f5117aa
Moved old version-specific sql files under the Attic directory.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@601 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:32:25 +00:00
Sandro Santilli
e0068515c0
AddGeometryColumns call table constraints 'enforce_srid' and 'enforce_geotype'
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@600 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:11:20 +00:00
Sandro Santilli
9eebeb9382
Fixed a bug killing the backend - lwg_parse_yyerror never called custom error handler
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@599 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 15:32:10 +00:00
Sandro Santilli
3a5e49e646
allowed lower case in wkt
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 10:07:06 +00:00
Sandro Santilli
a4d8700ca7
Added missing prototypes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@597 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 09:16:06 +00:00
Sandro Santilli
0486d1bc31
Added y.output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@596 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:39 +00:00
Sandro Santilli
4ec48f6fcd
Added more cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@595 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:22 +00:00
Sandro Santilli
3fac0be8bd
added semicolumns at end of blocks
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@594 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:23:01 +00:00
Sandro Santilli
a88128253b
removed, will be created
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@593 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:21:22 +00:00
Sandro Santilli
e6b92aab1e
Removed references to constraint name (unsafe) from probe_geometry_columns()
...
and fix_geometry_columns(). Added a rename_geometry_table_constraints()
renaming all geometry constraints to 'enforce_srid' and 'enforce_geotype'
git-svn-id: http://svn.osgeo.org/postgis/trunk@592 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 13:39:29 +00:00
Sandro Santilli
044a49c615
probe_geometry_columns() return message extended
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@591 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 13:11:21 +00:00
Sandro Santilli
89814f0311
Added comments about fix_geometry_columns() job.
...
SRID and type checks made stricter in fix_geometry_columns().
git-svn-id: http://svn.osgeo.org/postgis/trunk@590 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 12:40:43 +00:00
Sandro Santilli
47faffb302
Added probe_geometry_columns().
...
Modified fix_geometry_columns() to prevent fixing of bogus records for
which a corrected equivalent already exists.
git-svn-id: http://svn.osgeo.org/postgis/trunk@589 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 12:26:34 +00:00
Sandro Santilli
d510176aa1
Added DropGeometryTable description
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@588 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 10:19:32 +00:00
Sandro Santilli
daa3285b6c
Added DropGeometryColumn function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@587 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 10:07:40 +00:00
Sandro Santilli
602d14668b
first entries
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@586 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:16:02 +00:00
Sandro Santilli
609223cf30
Added prototypes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@585 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:11:56 +00:00
Sandro Santilli
6061000960
Fixed YACC call to rename standardly produced y.tab.c and y.tab.h
...
to wktparse.tab.c and wktparse.tab.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@584 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:07:39 +00:00
Sandro Santilli
81d3e41e96
Moved all geoemtry_columns cleanup in fix_geometry_columns,
...
update_geometry_stats(*) and addgeometrycolumn(*) will now
call the former and print out its result text.
git-svn-id: http://svn.osgeo.org/postgis/trunk@583 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:49:26 +00:00
Sandro Santilli
92bc86a780
Lifted AddGeometryColumns result message, including output from fix_geometry_columns
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@582 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:31:30 +00:00
Sandro Santilli
75197ed304
fix_geometry_columns() makes its best effort to find appropriate schema.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@581 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:25:15 +00:00
Sandro Santilli
cebda7b779
Added expand_geometry - expand(geometry, int8)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@580 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 16:44:56 +00:00
Sandro Santilli
1f72b4a25b
added postgis_old.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@579 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:49:39 +00:00
Sandro Santilli
ec70a564b3
Made it functional again.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@578 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:44:30 +00:00
Sandro Santilli
5cbf2bf538
compatted CASTS section, commented out bogus cast geometry::chip referring to missing function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@577 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:43:01 +00:00