Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca643b2e03 | ||
|
|
a7a52a23ea | ||
|
|
1c9e5f241f | ||
|
|
38d32371c8 |
3
Makefile
3
Makefile
@@ -1,7 +1,7 @@
|
||||
# cartodb/Makefile
|
||||
|
||||
EXTENSION = cartodb
|
||||
EXTVERSION = 0.7.2
|
||||
EXTVERSION = 0.7.3
|
||||
|
||||
SED = sed
|
||||
|
||||
@@ -36,6 +36,7 @@ UPGRADABLE = \
|
||||
0.6.0 \
|
||||
0.7.0 \
|
||||
0.7.1 \
|
||||
0.7.2 \
|
||||
$(EXTVERSION)dev \
|
||||
$(EXTVERSION)next \
|
||||
$(END)
|
||||
|
||||
5
NEWS.md
5
NEWS.md
@@ -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)
|
||||
------------------
|
||||
* Fix conversion of strings to datetime
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
-- Convert string to date
|
||||
--
|
||||
DROP FUNCTION IF EXISTS CDB_StringToDate(character varying);
|
||||
CREATE OR REPLACE FUNCTION CDB_StringToDate(input character varying)
|
||||
RETURNS TIMESTAMP AS $$
|
||||
DECLARE output TIMESTAMP;
|
||||
|
||||
@@ -302,6 +302,10 @@ function test_cdb_tablemetadatatouch() {
|
||||
sql "SELECT CDB_TableMetadataTouch('\"public\".touch_example');"
|
||||
sql "SELECT CDB_TableMetadataTouch('\"public\".\"touch_example\"');"
|
||||
|
||||
# Works with OID
|
||||
TABLE_OID=`${CMD} -U postgres ${DATABASE} -c "SELECT tableoid FROM pg_attribute WHERE attrelid = 'touch_example'::regclass limit 1;" -A -t`
|
||||
sql "SELECT CDB_TableMetadataTouch('${TABLE_OID}');"
|
||||
|
||||
#### test tear down
|
||||
sql 'DROP TABLE touch_example;'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user