Merge pull request #75 from CartoDB/73-fix-upgrade-of-cdb-stringtodate

73 fix upgrade of cdb stringtodate
This commit is contained in:
Rafa de la Torre 2015-03-03 17:27:45 +01:00
commit ca643b2e03
3 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# cartodb/Makefile # cartodb/Makefile
EXTENSION = cartodb EXTENSION = cartodb
EXTVERSION = 0.7.2 EXTVERSION = 0.7.3
SED = sed SED = sed
@ -36,6 +36,7 @@ UPGRADABLE = \
0.6.0 \ 0.6.0 \
0.7.0 \ 0.7.0 \
0.7.1 \ 0.7.1 \
0.7.2 \
$(EXTVERSION)dev \ $(EXTVERSION)dev \
$(EXTVERSION)next \ $(EXTVERSION)next \
$(END) $(END)

View File

@ -1,3 +1,8 @@
0.7.3 (2015-03-03)
------------------
* Fix upgrade of CDB_StringToDate function
* Add a test for to validate CDB_TableMetadataTouch usage with OID
0.7.2 (2015-03-03) 0.7.2 (2015-03-03)
------------------ ------------------
* Fix conversion of strings to datetime * Fix conversion of strings to datetime

View File

@ -1,5 +1,6 @@
-- Convert string to date -- Convert string to date
-- --
DROP FUNCTION IF EXISTS CDB_StringToDate(character varying);
CREATE OR REPLACE FUNCTION CDB_StringToDate(input character varying) CREATE OR REPLACE FUNCTION CDB_StringToDate(input character varying)
RETURNS TIMESTAMP AS $$ RETURNS TIMESTAMP AS $$
DECLARE output TIMESTAMP; DECLARE output TIMESTAMP;