Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a88bfc51a3 | ||
|
|
21d5ee5813 | ||
|
|
d39a032024 | ||
|
|
4cceb2a21f |
3
Makefile
3
Makefile
@@ -1,7 +1,7 @@
|
||||
# cartodb/Makefile
|
||||
|
||||
EXTENSION = cartodb
|
||||
EXTVERSION = 0.11.4
|
||||
EXTVERSION = 0.11.5
|
||||
|
||||
SED = sed
|
||||
|
||||
@@ -56,6 +56,7 @@ UPGRADABLE = \
|
||||
0.11.2 \
|
||||
0.11.3 \
|
||||
0.11.4 \
|
||||
0.11.5 \
|
||||
$(EXTVERSION)dev \
|
||||
$(EXTVERSION)next \
|
||||
$(END)
|
||||
|
||||
5
NEWS.md
5
NEWS.md
@@ -1,8 +1,11 @@
|
||||
0.11.5 (2015-11-27)
|
||||
-------------------
|
||||
* Disable log invalidation time [#178](https://github.com/CartoDB/cartodb-postgresql/pull/178)
|
||||
|
||||
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)
|
||||
* Disable log invalidation time [#178](https://github.com/CartoDB/cartodb-postgresql/pull/178)
|
||||
* 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)
|
||||
|
||||
|
||||
@@ -64,10 +64,6 @@ DECLARE
|
||||
tabname TEXT;
|
||||
rec RECORD;
|
||||
found BOOL;
|
||||
function_start timestamptz;
|
||||
function_end timestamptz;
|
||||
function_duration float;
|
||||
log_error_verbosity_value text;
|
||||
BEGIN
|
||||
|
||||
IF TG_OP = 'UPDATE' or TG_OP = 'INSERT' THEN
|
||||
@@ -76,8 +72,6 @@ BEGIN
|
||||
tabname = OLD.tabname;
|
||||
END IF;
|
||||
|
||||
function_start := clock_timestamp();
|
||||
|
||||
-- Notify table data update
|
||||
-- This needs a little bit more of research regarding security issues
|
||||
-- see https://github.com/CartoDB/cartodb/pull/241
|
||||
@@ -111,14 +105,7 @@ BEGIN
|
||||
EXIT;
|
||||
END LOOP;
|
||||
IF NOT found THEN RAISE WARNING 'Missing cdb_invalidate_varnish()'; END IF;
|
||||
|
||||
function_end := clock_timestamp();
|
||||
SELECT extract(epoch from (function_end - function_start)) INTO function_duration;
|
||||
SELECT setting INTO log_error_verbosity_value FROM pg_settings WHERE name='log_error_verbosity';
|
||||
SET log_error_verbosity=TERSE;
|
||||
RAISE LOG 'invalidation_duration: %', function_duration::text;
|
||||
PERFORM 'SET log_error_verbosity= ' || log_error_verbosity_value;
|
||||
|
||||
|
||||
RETURN NULL;
|
||||
END;
|
||||
$$
|
||||
|
||||
Reference in New Issue
Block a user