Exemplo n.º 1
0
 
####################################################################
######          Copyright (c)  2015-2020 PGSQL.IO         ##########
####################################################################

import util

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

Exemplo n.º 2
0
 
####################################################################
######          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)

Exemplo n.º 3
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 4
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", "pglogical", True)
Exemplo n.º 5
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 6
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 7
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 8
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 9
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 10
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util, os

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

Exemplo n.º 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)
Exemplo n.º 12
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 13
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 14
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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

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

Exemplo n.º 15
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 16
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

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

Exemplo n.º 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")
Exemplo n.º 18
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 19
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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

Exemplo n.º 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)
Exemplo n.º 21
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 22
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           #########
####################################################################

import util

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

Exemplo n.º 23
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 24
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 25
0
 
####################################################################
######          Copyright (c)  2015-2020 PGSQL.IO         ##########
####################################################################

import util

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

Exemplo n.º 26
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

Exemplo n.º 27
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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