2016-08-16 17:30:06 +08:00
0.17.1 (2016-08-16)
-------------------
* Add cache_tables column to cdb_analysis_catalog table #274 .
2016-07-04 19:25:09 +08:00
0.17.0 (2016-07-04)
-------------------
* Add export config for cdb_analysis_catalog table #268 .
* Add some extra fields to cdb_analysis_catalog table. Track user, error_message for failures, and last entity modifying the node #267 .
* Exclude overviews from user data size #262 .
2016-05-30 16:45:12 +08:00
0.16.4 (2016-05-27)
-------------------
* Change CDB_ZoomFromScale() to use a formula and raise
maximum overview level from 23 to 29.
[#259 ](https://github.com/CartoDB/cartodb-postgresql/pull/259 )
* Fix bug in overview creating causing it to fail when `x` or
`y` columns exist with non-integer type. Prevent also
potential integer overflows limiting maximum overview level
to 23.
[#258 ](https://github.com/CartoDB/cartodb-postgresql/pull/258 )
2016-05-09 19:08:50 +08:00
0.16.3 (2016-05-09)
-------------------
* Fix overview creation problem for organization users
with names that require quoting:
[#253 ](https://github.com/CartoDB/cartodb-postgresql/pull/253 )
2016-04-28 00:30:26 +08:00
0.16.2 (2016-04-27)
-------------------
* Use the mode to aggregate category columns in overviews
[#246 ](https://github.com/CartoDB/cartodb-postgresql/pull/246 )
2016-04-26 00:47:42 +08:00
0.16.1 (2016-04-25)
-------------------
* Optimize column information functions performance
[#238 ](https://github.com/CartoDB/cartodb-postgresql/pull/238 )
* Adjust overview points to pixel CDB_EqualIntervalBins
[#242 ](https://github.com/CartoDB/cartodb-postgresql/pull/242 )
* Compute webmercator resolution using full numeric precision
[#243 ](https://github.com/CartoDB/cartodb-postgresql/pull/243 )
2016-04-28 00:30:26 +08:00
2016-04-19 21:44:37 +08:00
0.16.0 (2016-04-15)
-------------------
* Adds table for storing camshaft analysis nodes
[#237 ](https://github.com/CartoDB/cartodb-postgresql/pull/237 )
2016-04-16 00:14:37 +08:00
2016-04-19 21:44:37 +08:00
0.15.1 (2016-04-15)
-------------------
2016-04-16 00:14:37 +08:00
* Fix problems with org users in overviews functions
[#224 ](https://github.com/CartoDB/cartodb-postgresql/pull/224 )
* Add `_feature_count` to overviews
[#227 ](https://github.com/CartoDB/cartodb-postgresql/pull/227 )
* Change point clustering behaviour of overviews
[#228 ](https://github.com/CartoDB/cartodb-postgresql/pull/228 )
* Change default tolerance of overviews
[#230 ](https://github.com/CartoDB/cartodb-postgresql/pull/230 )
* Fix problem with aggregated numerical fields in overviews
[#233 ](https://github.com/CartoDB/cartodb-postgresql/pull/233 )
* Enhance aggregation of text fields in overviews
[#234]https://github.com/CartoDB/cartodb-postgresql/pull/234
2016-04-05 20:22:46 +08:00
0.15.0 (2016-04-05)
2016-04-19 21:44:37 +08:00
-------------------
2016-04-05 20:22:46 +08:00
* New function CDB_CreateOverviewsWithToleranceInPixels that adds tolerance parameter for overview creation
[#221 ](https://github.com/CartoDB/cartodb-postgresql/pull/221 )
* New default value for the overviews tolerance in pixels is 2 (used to be 7.5) (also in #221 )
* The feature density limit used to choose the reference Z level now depends on the tolerance in pixels (also in #221 )
* Tables that require an explicit schema can now be passed to overview functions
[#220 ](https://github.com/CartoDB/cartodb-postgresql/pull/220 )
2016-03-29 19:06:50 +08:00
0.14.4 (2016-03-29)
2016-04-19 21:44:37 +08:00
-------------------
2016-03-29 19:06:50 +08:00
* Fix creating overviews for tables with boolean columns
[#214 ](https://github.com/CartoDB/cartodb-postgresql/pull/214 )
* Fix tests for some systems [#215 ](https://github.com/CartoDB/cartodb-postgresql/pull/215 )
2016-03-17 17:44:12 +08:00
0.14.3 (2016-03-17)
-------------------
* Fix for `cartodb_id` bigint casting hardcoded in 0.14.2 to support `cartodb_id` text columns [#210 ](https://github.com/CartoDB/cartodb-postgresql/pull/210 )
2016-03-15 17:57:06 +08:00
0.14.2 (2016-03-15)
-------------------
* Support text `cartodb_id` columns in `_CDB_Has_Usable_Primary_ID` [#202 ](https://github.com/CartoDB/cartodb-postgresql/pull/202 )
2016-03-07 19:05:14 +08:00
0.14.1 (2016-03-07)
-------------------
* Fully qualify table names in cache cdb_invalidate_varnish calls [#198 ](https://github.com/CartoDB/cartodb-postgresql/issues/198 )
2016-02-12 23:37:59 +08:00
0.14.0 (2016-02-14)
-------------------
* Add CDB_ForeignTable.sql to support FDW's [#199 ](https://github.com/CartoDB/cartodb-postgresql/pull/199 )
0.13.1 (2016-02-01)
-------------------
2016-02-02 02:23:38 +08:00
* Fix migration fron unpackaged. [193 ](https://github.com/CartoDB/cartodb-postgresql/pull/193 )
2016-01-30 00:53:51 +08:00
0.13.0 (2016-01-29)
2016-02-12 23:37:59 +08:00
-------------------
2016-01-30 00:53:51 +08:00
* Add CDB_CreateOverviews, CDB_DropOverviews and CDB_Overviews for vector overviews support. [185 ](https://github.com/CartoDB/cartodb-postgresql/pull/185 )
* Convert some simple functions from plpgsql to sql. [188 ](https://github.com/CartoDB/cartodb-postgresql/pull/188 )
2016-01-27 21:25:07 +08:00
0.12.0 (2016-01-27)
-------------------
* Remove schema_triggers extension dependency, to ensure compatibility with PostgreSQL 9.5. [#190 ](https://github.com/CartoDB/cartodb-postgresql/pull/190 )
* Remove DDL trigger functions (unused by CartoDB).
2015-11-28 00:03:51 +08:00
0.11.5 (2015-11-27)
-------------------
* Disable log invalidation time [#178 ](https://github.com/CartoDB/cartodb-postgresql/pull/178 )
2015-11-25 00:00:45 +08:00
0.11.4 (2015-11-24)
-------------------
* Fix for existing PK cartodb_id problem [#174 ](https://github.com/CartoDB/cartodb-postgresql/issues/174 )
* Add cartodbfication support for column names with embedded points to fix [#6114 ](https://github.com/CartoDB/cartodb/issues/6114 )
* Add CDB_GreatCircle for creating great circle routes between two points [#171 ](https://github.com/CartoDB/cartodb-postgresql/pull/171 )
* Fix to prevent cartodbfication problems [#155 ](https://github.com/CartoDB/cartodb-postgresql/issues/155 )
2015-09-21 18:54:14 +08:00
2015-10-27 21:16:17 +08:00
0.11.3 (2015-10-27)
-------------------
* Added CDB_Helper.sql [#173 ](https://github.com/CartoDB/cartodb-postgresql/pull/173 )
2015-11-25 00:00:45 +08:00
* Added `_CDB_Unique_Identifier` for creating UTF8 aware unique identifiers
* Added `_CDB_Unique_Column_Identifier` for creating UTF8 aware unique identifiers for columns
* Added `_CDB_Octet_Truncate` that truncates text to a certain amount of octets.
2015-10-27 21:16:17 +08:00
2015-10-19 20:35:10 +08:00
0.11.2 (2015-10-19)
-------------------
* Fix schema not being specified on pg_get_serial_sequence [#170 ](https://github.com/CartoDB/cartodb-postgresql/pull/170 )
* Log invalidation function call duration in seconds [#163 ](https://github.com/CartoDB/cartodb-postgresql/pull/163 )
2015-10-06 20:45:35 +08:00
0.11.1 (2015-10-06)
-------------------
* Added CDB_DateToNumber(timestamp with time zone) [#169 ](https://github.com/CartoDB/cartodb-postgresql/pull/169 )
* cartodbfy now discards cartodb_id candidates that contain nulls [#148 ](https://github.com/CartoDB/cartodb-postgresql/issues/148 )
2015-09-21 18:54:14 +08:00
0.11.0 (2015-09-dd)
-------------------
2015-08-10 17:17:41 +08:00
* Groups API
2015-09-24 23:54:47 +08:00
0.10.2 (2015-09-24)
-------------------
* Add back the `DROP FUNCTION IF EXISTS CDB_UserTables(text);` to be able to upgrade from `0.7.3` upward [#160 ](https://github.com/CartoDB/cartodb-postgresql/issues/160 )
2015-09-16 18:40:14 +08:00
0.10.1 (2015-09-16)
-------------------
* Get back the `update_updated_at` function (still used by old tables) [#143 ](https://github.com/CartoDB/cartodb-postgresql/pull/143 )
* Fix for CDB_StatsTest.sql test failing randomly [#144 ](https://github.com/CartoDB/cartodb-postgresql/issues/144 )
* Fix for table cartodbfy'ed without default seq value [#138 ](https://github.com/CartoDB/cartodb-postgresql/issues/138 )
* Fix for cartodbfy error column `the_geom` already exists [#141 ](https://github.com/CartoDB/cartodb-postgresql/issues/141 )
* Fix for columns with geometry cartodbfy'ed without SRID [#154 ](https://github.com/CartoDB/cartodb-postgresql/issues/154 )
2015-09-07 19:16:27 +08:00
0.10.0 (2015-09-07)
2015-08-31 18:56:12 +08:00
-----------------
2015-09-07 19:02:05 +08:00
* Quote schema and table names returned by CDB_QueryTables [#134 ](https://github.com/CartoDB/cartodb-postgresql/pull/134 ). Use quote_ident to quote schema and table names when necessary.
* Fixed CDB_ColumnNames [#122 ](https://github.com/CartoDB/cartodb-postgresql/issues/122 ) and CDB_ColumnType [#130 ](https://github.com/CartoDB/cartodb-postgresql/issues/130 ) should honor regclass, returning columns for just the table in the schema and not in any other one [#131 ](https://github.com/CartoDB/cartodb-postgresql/pull/131 ).
* Add kurtosis and skewness [#124 ](https://github.com/CartoDB/cartodb-postgresql/pull/124 ).
2015-08-31 18:56:12 +08:00
* Removed `DROP FUNCTION IF EXISTS cdb_usertables(text);` [#129 ](https://github.com/CartoDB/cartodb-postgresql/pull/129 ). This was needed for upgrading between 0.7.4 to 0.8.0 but is no longer needed.
2015-08-27 22:33:46 +08:00
0.9.4 (2015-08-28)
------------------
* Fixed issue with indices when renaming tables [#123 ](https://github.com/CartoDB/cartodb-postgresql/issues/123 )
2015-08-27 18:14:48 +08:00
0.9.3 (2015-08-27)
------------------
* Modify sampling of quota trigger [#126 ](https://github.com/CartoDB/cartodb-postgresql/issues/126 )
2015-08-24 21:20:50 +08:00
0.9.2 (2015-08-24)
------------------
* Fix for `the_geom` column present but not SRID (EWKT) and other corner cases [#121 ](https://github.com/CartoDB/cartodb-postgresql/pull/121 )
2015-08-20 01:42:29 +08:00
0.9.1 (2015-08-19)
------------------
* Fix for transformation to webmercator in corner cases [#116 ](https://github.com/CartoDB/cartodb-postgresql/issues/116 )
2015-08-19 21:08:07 +08:00
0.9.0 (2015-08-19)
------------------
* Re-implementation of `CDB_CartodbfyTable` functions
- The signature of the main function changes to
```
FUNCTION CDB_CartodbfyTable(destschema TEXT, reloid REGCLASS)
RETURNS REGCLASS
```
- The `destschema` does not need to match the origin schema of `reloid`
- It returns the `regclass` of the cartodbfy'ed table, if it needs to be rewritten.
- There are many optimizations
- The columns `created_at` and `updated_at` will no longer be added
* Fix for CDB_UserDataSize failing due `ERROR: relation "*" does not exist.` #110
* Review test to validate permissions in public tables [#112 ](https://github.com/CartoDB/cartodb-postgresql/pull/112 )
0.8.3 (2015-08-14)
2015-08-13 19:23:35 +08:00
------------------
* Fixes CDB_UserDataSize failing due `ERROR: relation "*" does not exist.` [#108 ](https://github.com/CartoDB/cartodb-postgresql/issues/108 )
2015-07-27 22:12:42 +08:00
0.8.2 (2015-07-27)
------------------
* Fix for CDB_UserTables returning wrong listings when publicuser is used
2015-07-07 21:07:41 +08:00
0.8.1 (2015-06-30)
------------------
* Fix for [#95 ](https://github.com/CartoDB/cartodb-postgresql/issues/95 ) *cdb_usertables should return public tables when the user is publicuser*
2015-06-30 17:11:21 +08:00
0.8.0 (2015-06-30)
2015-06-29 18:09:35 +08:00
------------------
* Adds new function CDB_QueryTablesText that can deal with "schema.table_name"
longer than 63 chars.
* Adds a set of statistical functions:
- CDB_DistType
- CDB_DistinctMeasure
- CDB_EqualIntervalBins
2015-06-30 17:34:59 +08:00
* Fix for CDB_UserTables returns 0 entries for multiuser accounts [#64 ](https://github.com/CartoDB/cartodb-postgresql/issues/64 )
2015-06-29 18:09:35 +08:00
2015-06-30 17:11:21 +08:00
0.7.4 (2015-06-29)
------------------
Dummy transitional version.
2015-03-04 00:09:57 +08:00
0.7.3 (2015-03-03)
------------------
* Fix upgrade of CDB_StringToDate function
* Add a test for to validate CDB_TableMetadataTouch usage with OID
2015-03-03 17:49:33 +08:00
0.7.2 (2015-03-03)
2015-02-19 21:34:32 +08:00
------------------
2015-03-03 17:49:33 +08:00
* Fix conversion of strings to datetime
2015-02-19 21:34:32 +08:00
2015-02-27 17:53:14 +08:00
0.7.1 (2015-02-27)
------------------
* Revert quota checks to `pg_total_relation_size`
2015-02-19 21:33:21 +08:00
0.7.0 (2015-02-19)
2015-02-19 21:11:54 +08:00
------------------
2015-02-19 21:33:21 +08:00
* Adds CDB_ZoomFromScale function
2015-02-19 21:11:54 +08:00
2015-02-19 21:10:15 +08:00
0.6.0 (2015-02-19)
2015-02-19 00:31:04 +08:00
------------------
* Select permission in CDB_TableMetadata no longer granted to public
* New function to upsert the updated_at in CDB_TableMetadata for a regclass
2015-02-19 21:09:49 +08:00
0.5.3 (2015-02-17)
2015-02-17 18:34:49 +08:00
------------------
2015-02-19 21:09:49 +08:00
* Fixed security problem related with system tables
2015-02-17 23:25:16 +08:00
* Changed quota checks to use `pg_relation_size` instead of `pg_total_relation_size`
2015-02-17 18:34:49 +08:00
2015-01-29 22:02:38 +08:00
0.5.2 (2015-01-29)
------------------
* Improvement: make CDB_UserDataSize functions much faster.
2014-12-06 00:30:47 +08:00
0.5.1 (2014-11-21)
------------------
* Bugfix: Quota check and some organization permissions functions were not properly escaping table name.
0.5.0 (2014-11-03)
2014-11-18 22:24:54 +08:00
------------------
* Support of raster tables for cartodbfication
* Modified quota functions: vector tables stay the same, raster tables count as full size (as have no
the_geom + the_geom_webmercator combo) and raster overviews are not counted
0.4.1 (2014-09-21)
------------------
* Bugfix for Cartodbfication: Set primary key of the table if not already present (e.g. tables created from SQL API)
2014-08-27 20:34:37 +08:00
0.4.0 (2014-08-27)
2014-08-20 00:09:27 +08:00
------------------
Added CDB_Math_Mode function
2014-08-25 18:00:45 +08:00
Changes in versioning: no revision is attached so it no longer uses `git describe` for the version.
2014-08-20 00:09:27 +08:00
2014-08-11 22:38:41 +08:00
0.3.6 (2014-08-11)
2014-08-11 22:18:02 +08:00
------------------
2014-08-11 22:38:41 +08:00
Dummy release to solve some issues with cdb branch/tag
2014-08-11 22:18:02 +08:00
2014-08-11 21:26:13 +08:00
0.3.5 (2014-08-11)
------------------
Inverting priority of CDB_CheckQuota qmax so gies more priority to existing user quota function over parameter value.
2014-08-11 22:13:04 +08:00
0.3.4 (2014-08-01)
2014-08-11 21:26:13 +08:00
------------------
2014-08-11 22:13:04 +08:00
Fixes issue with schemas in CDB_QueryTables
2014-08-11 21:26:13 +08:00
2014-08-11 22:13:04 +08:00
0.3.3 (2014-07-30)
2014-07-29 20:16:52 +08:00
------------------
* Splitting of CartodbfyTable method in subfunctions to be able to call in fragments and evade timeouts on hot zones
2014-07-28 21:39:19 +08:00
0.3.2 (2014-07-28)
------------------
* Make 0.3.0dev version upgradeable
2014-07-25 16:52:46 +08:00
2014-07-23 00:15:17 +08:00
0.3.1 (2014-07-22)
------------------
* Dummy version. We start using semantic versioning
2014-07-15 22:57:23 +08:00
0.3.0 (2014-07-15)
2014-06-09 19:04:42 +08:00
------------------
2014-07-15 22:57:23 +08:00
* Permission management functions
* Adapt functions to use schemas
2014-06-09 19:04:42 +08:00
2014-06-11 22:34:06 +08:00
0.2.1 - 2014-06-11
2014-06-11 16:02:55 +08:00
------------------
Enhancements:
- Do not force re-cartodbfication on CREATE FROM unpackaged
2014-06-11 17:25:25 +08:00
- Drop useless DEFAULT specification in plpgsql variable declarations
2014-06-11 22:34:06 +08:00
- List plpythonu requirement first, to get pg_catalog scanned before public
2014-06-11 16:02:55 +08:00
2014-06-12 01:21:19 +08:00
Bug fixes:
- Do not add unique index on cartodb_id if already a primary key (#38)
2014-06-09 18:51:31 +08:00
0.2.0 - 2014-06-09
2014-05-23 23:40:14 +08:00
------------------
2014-06-05 21:00:57 +08:00
Important changes:
- This release adds dependency on "plpythonu" extension
2014-06-06 17:02:51 +08:00
- Roles are not created anymore, previously private functions
2014-06-06 17:33:34 +08:00
for table information extraction (CDB_UserTables, CDB_TableIndexes,
CDB_ColumnNames, CDB_ColumnType) will now be callable by anyone while
only returning information about tables over which the calling user
has SELECT privilege (#36)
2014-06-05 21:00:57 +08:00
2014-05-28 18:32:30 +08:00
Bug fixes:
- Fix recursive trigger on create table (#32)
- Ensure cartodb_id uses an associated sequence (#33)
2014-05-28 18:52:35 +08:00
- Fully qualify call to cdb_disable_ddl_hooks from cdb_enable_ddl_hooks
2014-05-28 23:42:11 +08:00
- Fully qualify call to CDB_UserDataSize from quota trigger
2014-06-06 23:28:02 +08:00
- Fully qualify call to CDB_TransformToWebmercator from CDB_CartodbfyTable
2014-05-31 01:09:24 +08:00
- Fix potential infinite loop in CDB_CartodbfyTable
2014-06-05 21:00:57 +08:00
- Fix potential infinite loop in CDB_QueryStatements
2014-05-28 18:32:30 +08:00
2014-06-03 19:20:49 +08:00
Enhancements:
- Include revision info in cdb_version() output (#34)
2014-06-04 16:28:48 +08:00
New features:
- Add a cdb_extension_reload() function
2014-05-23 23:40:14 +08:00
2014-05-23 23:09:36 +08:00
0.1.0 - 2014-05-23
2014-05-23 21:33:11 +08:00
------------------
2014-05-08 16:10:20 +08:00
Initial release