1. 설치 cd $HOME/postgresql-15.5/contrib wget https://github.com/citusdata/pg_cron/archive/refs/tags/v1.6.2.tar.gz tar -xvzf v1.6.2.tar.gz cd pg_cron-1.6.2 && make && make install 2. 설정 $PGDATA/postgresql shared_preload_libraries = 'pg_stat_statements,passwordcheck,pg_store_plans,pg_cron' cron.database_name='testdb1' $PGDATA/pg_hba.conf , $HOME/.pgpass 둘 중 하나 설정해서 자동접속 가능하게 만들어야함local ..
1. pg_bigm-. pg_bigm 모듈은 PostgreSQL 에서 전체 텍스트 검색 기능 (full text search) 를 제공 합니다. -. 이 모듈을 사용하면 더 빠른 전체 텍스트 검색 을 위해 2-gram 인덱스를 만들 수 있다.-. 여기서 2-gram 인덱스라는 것은 문자열의 연속된 2개 문자마다 인덱스 항목을 만드는 것을 의미 2. 설치wget https://github.com/pgbigm/pg_bigm/archive/refs/tags/v1.2-20240606.tar.gztar -xvzf v1.2-20240606.tar.gz cd pg_bigm-1.2-20240606make&&make install 3. Extension 설치 CREATE EXTENSION pg_bigm; 4. 생..
# 리눅스#. yum을 통해 Postgre를 설치했다면, Extention을 사용하기 위해서는 yum install postgre16.1-contribsource로 설치했으면 contrib이 디렉토리에 존재함1. wget 으로 파일 다운로드wget https://github.com/ossc-db/pg_store_plans/archive/refs/tags/1.8.tar.gz*1.7 에러나서 안됨(왠지모름) - ->pg_store_plans.c:57:31: fatal error: utils/queryjumble.h: 그런 파일이나 디렉터리가 없습니다 ->#include "utils/queryjumble.h"make && make install 2. 재기동, Parameter 수정 및 Extension 설치1..
# 리눅스#. yum을 통해 Postgre를 설치했다면, Extention을 사용하기 위해서는 yum install postgre16.1-contribsource로 설치했으면 contrib이 디렉토리에 존재함 1. Passwordcheck 모듈사용wget https://raw.githubusercontent.com/michaelpq/pg_plugins/main/passwordcheck_extra/passwordcheck_extra.cmv passwordcheck.c passwordcheck.c_orgwget https://raw.githubusercontent.com/michaelpq/pg_plugins/main/passwordcheck_extra/passwordcheck_extra.cmv passwor..
$PGDATA/pg_hba.conf# TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only #local all all trust local all all md5 # IPv4 local connections: #host all all 0.0.0.0/0 trust host all ..
1. 수동 설치 파일 가져오기 wget https://ftp.postgresql.org/pub/source/v16.1/postgresql-16.1.tar.gz --no-check-certificate http://ftp.postgresql.org/pub/source/ Index of /pub/source/ ftp.postgresql.org https://www.enterprisedb.com/download-postgresql-binaries Community DL Page Download PostgreSQL Binaries The links below allow you to download archives of the files installed by our PostgreSQL installers. Th..