示例#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)

示例#3
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#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)
示例#5
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#6
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#7
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#8
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#9
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#10
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util, os

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

示例#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)
示例#12
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#13
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

示例#14
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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

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

示例#15
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

示例#16
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

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

示例#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")
示例#18
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#19
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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

示例#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)
示例#21
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#22
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           #########
####################################################################

import util

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

示例#23
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

示例#24
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           ##########
####################################################################

import util

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

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

import util

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

示例#26
0
 
####################################################################
######          Copyright (c)  2015-2019 BigSQL           ##########
####################################################################

import util

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

示例#27
0
 
####################################################################
######          Copyright (c)  2015-2020 BigSQL           #########
####################################################################

import util

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