|
Revision 5475, 0.6 KB
(checked in by pracine, 2 years ago)
|
|
[wktraster] Fix for ticket 201. wktraster_config.h.in is no longer generated by AutoHeader? and renamed many macros starting with "RT_" with "POSTGIS_RASTER_" in order to avoid name conflicts with other macros.
|
| Line | |
|---|
| 1 | 1. WKTRaster Configuration |
|---|
| 2 | |
|---|
| 3 | Run ./configure --help and check 3 options: |
|---|
| 4 | |
|---|
| 5 | --enable-rtapi-debug |
|---|
| 6 | Defines POSTGIS_RASTER_API_DEBUG, turns on debugging of RASTER core API |
|---|
| 7 | |
|---|
| 8 | --enable-rtpg-debug |
|---|
| 9 | Defines POSTGIS_RASTER_PG_DEBUG, turns on debugging of PostGIS RASTER activity |
|---|
| 10 | |
|---|
| 11 | --enable-rtpgmem-debug |
|---|
| 12 | Defines POSTGIS_RASTER_PG_DEBUG_MEM, turns on debugging PostGIS RASTER memory activity. |
|---|
| 13 | Simply, overrides de-/allocators with custom calls to help tracking memory usage. |
|---|
| 14 | |
|---|
| 15 | 2. Execution |
|---|
| 16 | |
|---|
| 17 | export PGHOST=$PWD/tmp |
|---|
| 18 | |
|---|
| 19 | /usr/lib/postgresql/8.3/bin/postgres --single -k $PGHOST < test.sql |
|---|
| 20 | psql |
|---|