Sandro Santilli
75a40c9b63
Tag CDB_TableMetadata as a configuration table
...
Closes #21
2014-05-22 12:32:52 +02:00
Sandro Santilli
eecab6e24c
Remove CDB_SearchPath.sql from the set of scripts loaded directly
...
It still gets loaded as part of extension creation
2014-05-19 13:26:01 +02:00
Sandro Santilli
ca4ce102bb
Refuse to create new extension if legacy code is present on database
...
Closes #20
2014-05-14 12:39:53 +02:00
Sandro Santilli
02575155ce
Complain if script is sourced in psql, rather than via CREATE EXTENSION
2014-05-14 11:30:41 +02:00
Sandro Santilli
e6b02de9aa
Disable roles creation in extension-less installs
2014-05-12 11:44:44 +02:00
Sandro Santilli
4c93f75523
Fix clean rule not to drop CDB_version() method
2014-05-08 17:21:41 +02:00
Sandro Santilli
b723954b74
Create required test output dir
...
See http://travis-ci.org/CartoDB/cartodb-postgresql/builds/24691945
2014-05-08 10:31:23 +02:00
Sandro Santilli
5d3c63b964
Add cdb_version() function
2014-05-08 10:07:47 +02:00
Sandro Santilli
b8e15dba83
Generate cartodb.control with Makefile-driver version
...
Set version to 0.1dev
2014-05-08 09:58:58 +02:00
Sandro Santilli
b3bade740d
Generate script to create migrate from unpackaged
...
Usage: CREATE EXTENSION cartodb FROM unpackaged;
2014-05-07 18:06:20 +02:00
Sandro Santilli
574ce7997d
Do not hard-code session search_path at start of extension
2014-05-06 10:54:37 +02:00
Sandro Santilli
15740f2ef6
Enable running all tests via "installcheck"
...
NOTE: also makes CDB_TableMetadata triggers still functional
when user quota and varnish invalidation functions are missing
from the database (currently installed by cartodb ruby)
2014-05-06 10:18:38 +02:00
Sandro Santilli
0960276046
Import cartodb/lib/sql/test, add search_path tweaker
2014-05-05 18:48:48 +02:00
Sandro Santilli
5e28417b3d
Add "cdb_org_admin" and "cdb_org_user" roles as part of extension
2014-05-05 18:04:14 +02:00
Sandro Santilli
2f1fdf5a15
Copy cartodb lib/sql scripts from CDB_CartodbfyTable branch
2014-05-05 17:13:06 +02:00
Sandro Santilli
1a7fd8fd67
Fix automated test
2014-05-05 12:20:38 +02:00
Sandro Santilli
8cd7e31450
Include some of the cartodb scripts in the extension
...
NOTE: this is unfinished as cartodb scripts are only referenced and not
really included
2014-04-30 19:03:14 +02:00
Sandro Santilli
be25906953
Move toward cartodb extension
2013-12-02 16:29:02 +01:00