All notable changes for the LINZ BDE Uploader are documented in this file.
- Force pushing changes to origin remote
- Support for Ubuntu 20.04/LTS
- Quality improvements
- Update default configuration for LOL-3.22b
- Only ALTER table on upgrade if really needed (#256)
- Schema loader transactionality (#267)
- Log a readable error when no BDE field name matches target col names (#255)
- Drop PostgreSQL dependency in in Debian packaging (#141)
- PostgreSQL session auth changed to
bde_admin
as soon as possible (#249) - Grant EXECUTE on all
bde_control
functions tobde_admin
- Grant CREATE on current database to
bde_admin
- Grant USAGE of all sequences in
bde_control
tobde_admin
- Stop copying ownership information to temporary tables
- Printing of per-dataset revision (#246)
- Print NOTICE upon deleting a revision (#247)
linz-bde-uploader-schema-publish
script to publish schema tables (#237)- Switch --readonly to
linz-bde-uploader-schema-load
(#238)
- Do not DROP TABLE on -full upload (#148)
- Lost tables and permissions now recovered upon schema loading (#240)
- Level5 updates will now also be checked for change tolerance (#221)
linz_bde_uploader
will fail if both -rebuild and -full-incremental are given (#116)- Qualify calls to
bde_control
database functions for improved security - Downgrade INFO messages to NOTICE messages (#202)
- Map database NOTICE messages to log INFO instead of DEBUG (#218)
- Provide default values for
level5_starttime_{warn,fail}_tolerance
(#225) - Do not rely on stats for checking change tolerance
- Avoid duplicated stdout messages on -v and empty
log_settings
in config file (#204) - Stop attempting to disable synchronous commit in default config (#222)
- UTF8 characters encoding (#210)
- Race condition in automated test
- Full upload error runnin
pg_sleep
(#194)
linz_bd_uploader
now exits with a success code when no datasets are available for upload (#153)
- Unpredictable exit code (use of uninitialized $exitcode variable)
- Swapped insert/delete counts in upload stats (#165)
- Improve documentation of
bde_TablesAffected
(#173) - Add stdout support in
linz-bde-schema-load
(#175) - Add support for
table_version
1.6.0 (#180)
- LOL stopping updates of
crs_map_grid
- LOL stopping updates of
crs_statist_area
- LOL 3.14 remove meshblock and electoral place tables and unloads
- linz-bde-uploader-schema-load script (#123)
- Expose git revision in functions description (#111)
- Add a testsuite
- Add
pg_error_level
configuration support - BdeDatabase::streamDataToTempTable (#133)
- Allow running
bde_ApplyLevel0Update
without having SUPERUSER privileges (ie: do not require access topg_authid
) - Avoid creation of temporary BDE file copy when possible (#135)
- Review IMMUTABLE/STABLE/VOLATILE status of each function
- Improve documentation (#57, #85, #89, #118)
- Improve user feedback (#97, #106)
- Provide defaults for most configuration items (#78, #103)
- Ensure install base prefix paths are correctly set
- Avoid duplicated error messages (#59, #69, #75)
- BdeDatabase::UploadDataToTempTable function removed, use BdeDatabase::streamDataToTempTable instead
- Support changes for the Landonline release 3.15
- Support changes for the Landonline release 3.14
- Explicitly set the temp file permissions to have global read rights
- zombied job option and added better logging for this option
- Added option to delete zombied jobs (-remove-zombie)
- Remove the need for the level 5 process to gain an exclusive lock for the table to be updated
- Fixes #34. Renaming of
pg_stat_activity
procpid to pid (following Postgresql 9.2 change) - Fixes #30 - missed regex extended flag
- Added support for overriding log level with -level-log CLI option
- Made error exception handling more robust
- No changes
- New
bde_control.bde_version()
function
- Packaging changes to account for dependency changes
- Move dbpatch and table version source code from project to external projects
- Move BDE schema files to external project
- Move LDS schema file to external project
- Move polygon grid functions to external project
- Removed debian postinst script. The install and configuration is now managed externally
- Moved version Build.PL and added SQL version number function
- Improve logging of event hooks.
- Fix missing required package in build script
- Added pending parcels import to LDS schema
- Removed unnecessary pending parcels layers
- fix bde primary key fix that was not picked up in the migration
- Move readme to markdown version. Updated a few install notes
- Updating lds.geodetic_network_marks layer to fix CHN, CVN, and NHN networks
- Ensure bad parcel statuses can not flow through to product generation
- Added debian packaging for Trusty
- Added event hooks functionality. Also reworked error handling to clean-up legacy exception handling put in place for Win32 under perl 5.8
- Include Try::Tiny in Debian packaging
- Changing owners field from VARCHAR to TEXT to prevent data overflows
- Improve patch from cbd1015 to use table version API
- Improve event handling if config does not define the events
- made changes for LOL 3.11 release
- fixed bug for LOL release 3.11 where function in bde_functions.sql referenced a column that wouldnt be created until patches.sql was run - variable type is now hardcoded to workaround this
- Fix for electoral layer creation when duplicate SUFIs are found
- Revert debian control to standard config
- Added more information about process holding table locks
- Added offshore Island support to simplified parcels layers
- Added support for UTF-8 support from Landonline data
- Increase field width of locality_utf8 for the road_centre_line, road_centre_line_subsection, street_address2 tables
- Added check for unique sufi records in electoral tables
- Added crs_image_history to config
- Added support for PostgreSQL/PostGIS extensions
- Cleaned up debian post install functions to correct report errors.
- Fix early drop of temp table during LDS layer generation
- Increase field width for street address and road layers
- Update lds_layer_functions.sql to fix typo in meshblock layer check
- Support for full landonline tables that require a filter
- Added sufi (INT) to street_address
- Add crs_image_history table
- Refactored title exclusion and protection code
- Clean-up usage of temp tables, remove some dead code
- Make parcel polygons OGC valid
- Updated table config to switch to new road name and street address data files
- Added support for adding columns to versioned tables
- Add street addressing columns for Landonline 3.10
- Temporarily turn off electoral layer updates until TA script is in place
- Ensure patch checks that table is versioned
- Ensure logging package is imported into BdeUploaderDataDef class
- Ensure that training tiles are removed from the simple title memorial tables
- update name_and_date column from varchar(100) to varchar(200) on tables bde.crs_statute and table_version.bde_crs_statute_revision
- Ensure SQL RAISE messages have the correct number of parameters
- Fix performance and syntax errors for title memorial creation sql
- Add title memorials dataset
- Update observation layers to contain the start and end mark name
- Improve observation query performance. Make note about data quality
- Ensure that control characters within BDE file that are not printable in XML are not carried through to PostgreSQL
- Updated BDE processor to support bad control character and to fix current problems in the database
- Ensure upload process stops when bde_copy error is reported
- Fixed bug relating to 286468ae09 where schema prefix was not being explicitly used in patch
- Rebuild BDE table primary keys using versioned table column key
- remove debugging messages
- Remove dropping of connections by default
- Add new street address layer schema for NZPost
- Fixed table version diff bug [issue #19]
- Included first unit tests for table version functions using pgTAP
- Add status column to title estate and owner tables
- Apply patch to upgrade table version functions. Relates to 85ee4a219a [issue #10]
- Improved patch from 85ee4a2 to ensure existing functions with modified signatures are cleaned up
- Fix bug in observation patch [issue #9]
- Set new All Linear Parcels calc area to NULL
- Fixed spatial table patch
- Fixed Observation table change patch
- Fix error in title table SQL generation
- Support for LDS simplified aspatial tables
- Include all parcel parcels layer. This contains parcels that are not pending. i.e Current, Approved, Historic and Survey Historic
- Fix observation shape vertex order to be the same as observation direction
- Changed permissions for table versioning functio ns
- Upgrade to fix user permission problems identified with issue #8
- fix extra 'inserts' in diff output, from rows that were created and then deleted during the diff window.
- Fix for duplication Geodetic code error message (again)
- Fix for duplication Geodetic code error message
- Fixed bug with creation of LDS schema.
- Added 3 new layers. WACA and SPI adjustments and Mesh Blocks
- Added rna_id to street_address layer
- Added accuracy values observation related layers
- Fixes to generation of Road centreline datasets
- Defined all fields width to better support FGBD exports on LDS
- Improved the performance of the survey observation differencing
- Improved logging to allow for 99 rotated files
- Rounded calc_area to whole number in parcels tables
- Added new logging system based on log4perl. This removes all logging to db.
- Added logging to email output
- Fixed run_bde_upload logging
- Fixed issue with logging before database connection is made
- Refactor handling of incremental data application.
- Initial release.