Beispiel #1
0
 
####################################################################
######          Copyright (c)  2015-2020 PGSQL.IO         ##########
####################################################################

import util

util.create_extension("pgXX", "fixeddecimal", True)

 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util, os

ext_nm = "cassandra_fdw"

print("\n install-" + ext_nm + "-pgXX...")

util.change_pgconf_keyval("pgXX", "shared_preload_libraries", ext_nm)

isYes = os.getenv("isYes", "False")
if isYes == "True":
  util.create_extension("pgXX", ext_nm, True)

Beispiel #3
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "pg_partman_bgw", True, "pg_partman")

sql = \
"CREATE FOREIGN TABLE pglog ( \
  log_time timestamp(3) with time zone, \
  user_name text, \
  database_name text, \
  process_id integer, \
  connection_from text, \
  session_id text, \
  session_line_num bigint, \
  command_tag text, \
  session_start_time timestamp with time zone, \
  virtual_transaction_id text, \
  transaction_id bigint, \
  error_severity text, \
  sql_state_code text, \
  message text, \
  detail text, \
  hint text, \
  internal_query text, \
  internal_query_pos integer, \
  context text, \
  query text, \
  query_pos integer, \
  location text, \
  application_name text \
) SERVER pglog \
OPTIONS ( filename '"                      + csvlogfile + "', format 'csv' )"
util.run_sql_cmd("pgXX", sql, True)

util.create_extension("pgXX", "pglogical", True)
Beispiel #5
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "plugin_debugger", True, "pldbgapi")

Beispiel #6
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "pg_bulkload", True)

Beispiel #7
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "tds_fdw", True, "tds_fdw")

Beispiel #8
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "oracle_fdw", True, "oracle_fdw")

Beispiel #9
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "cassandra_fdw", True)

Beispiel #10
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util, os

util.create_extension("pgXX", "hive_fdw", True) 

Beispiel #11
0
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

util.pre_install_extension("pgXX", "citus")

util.change_pgconf_keyval("pgXX", "citus.enable_statistics_collection", "off",
                          True)

util.create_extension("pgXX", "citus", True)
Beispiel #12
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "pg_proctab", True)

Beispiel #13
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "plprofiler", True)

Beispiel #14
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

ver = "pgXX"
ext = "postgis-3"

util.create_extension(ver, ext, True, "postgis")

Beispiel #15
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "hypopg", True)

Beispiel #16
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

##util.change_pgconf_keyval("pgXX", "timescaledb.telemetry_level", "off")

util.create_extension("pgXX", "timescaledb", True)

Beispiel #17
0
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.change_pgconf_keyval("pgXX", "pljava.libjvm_location",
                          util.get_jvm_location(), True)

util.create_extension("pgXX", "libpljava-so-1.5.5", True, "pljava")
Beispiel #18
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "mysql_fdw", True, "mysql_fdw")

Beispiel #19
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

util.create_extension("pgXX", "pgaudit", True)

Beispiel #20
0
sql = \
"CREATE FOREIGN TABLE pglog ( \
  log_time timestamp(3) with time zone, \
  user_name text, \
  database_name text, \
  process_id integer, \
  connection_from text, \
  session_id text, \
  session_line_num bigint, \
  command_tag text, \
  session_start_time timestamp with time zone, \
  virtual_transaction_id text, \
  transaction_id bigint, \
  error_severity text, \
  sql_state_code text, \
  message text, \
  detail text, \
  hint text, \
  internal_query text, \
  internal_query_pos integer, \
  context text, \
  query text, \
  query_pos integer, \
  location text, \
  application_name text \
) SERVER pglog \
OPTIONS ( filename '"                      + csvlogfile + "', format 'csv' )"
util.run_sql_cmd("pgXX", sql, True)

util.create_extension("pgXX", "spock", True)
Beispiel #21
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "", False, "multicorn")

Beispiel #22
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           #########
####################################################################

import util

util.create_extension("pgXX", "anon", True, "", True)

Beispiel #23
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "pg_repack", True, "pg_repack")

Beispiel #24
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "orafce", True, "orafce")

Beispiel #25
0
 
####################################################################
######          Copyright (c)  2015-2020 PGSQL.IO         ##########
####################################################################

import util

util.create_extension("pgXX", "mongo_fdw", True, "mongo_fdw")

Beispiel #26
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

util.create_extension("pgXX", "pgtsql", True)

Beispiel #27
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

util.create_extension("pgXX", "pg_cron", True, "")