mirror of https://github.com/citusdata/citus.git
wip
parent
b59e78d095
commit
5d8c89133d
|
@ -9,6 +9,7 @@ BEGIN
|
||||||
objid IN (SELECT oid FROM pg_proc WHERE proname = 'array_cat_agg') AND
|
objid IN (SELECT oid FROM pg_proc WHERE proname = 'array_cat_agg') AND
|
||||||
refobjid IN (select oid from pg_extension where extname = 'citus');
|
refobjid IN (select oid from pg_extension where extname = 'citus');
|
||||||
DROP AGGREGATE IF EXISTS array_cat_agg(anyarray);
|
DROP AGGREGATE IF EXISTS array_cat_agg(anyarray);
|
||||||
|
DROP AGGREGATE IF EXISTS array_cat_agg(anycompatiblearray);
|
||||||
--
|
--
|
||||||
-- Drop existing backup tables
|
-- Drop existing backup tables
|
||||||
--
|
--
|
||||||
|
|
|
@ -9,6 +9,7 @@ BEGIN
|
||||||
objid IN (SELECT oid FROM pg_proc WHERE proname = 'array_cat_agg') AND
|
objid IN (SELECT oid FROM pg_proc WHERE proname = 'array_cat_agg') AND
|
||||||
refobjid IN (select oid from pg_extension where extname = 'citus');
|
refobjid IN (select oid from pg_extension where extname = 'citus');
|
||||||
DROP AGGREGATE IF EXISTS array_cat_agg(anyarray);
|
DROP AGGREGATE IF EXISTS array_cat_agg(anyarray);
|
||||||
|
DROP AGGREGATE IF EXISTS array_cat_agg(anycompatiblearray);
|
||||||
--
|
--
|
||||||
-- Drop existing backup tables
|
-- Drop existing backup tables
|
||||||
--
|
--
|
||||||
|
|
|
@ -4,6 +4,7 @@ from config import USER
|
||||||
|
|
||||||
|
|
||||||
def psql(pg_path, port, command):
|
def psql(pg_path, port, command):
|
||||||
|
print("RUNNING ", command)
|
||||||
return subprocess.check_output([
|
return subprocess.check_output([
|
||||||
os.path.join(pg_path, 'psql'),
|
os.path.join(pg_path, 'psql'),
|
||||||
'-U', USER,
|
'-U', USER,
|
||||||
|
|
Loading…
Reference in New Issue