http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [69]
02.File Book
File 자료실 [95]
Site Link [18]
개인폴더 [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2888]
PostgreSQL [103]
기타정보 [150]
운영체제 [577]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: PostgreSQL

 회원가입

CREATE EXTENSION postgres_fdw; [ source install ]
최길호 [LIST]   2021-11-15 00:28:04, 조회 : 227


postgres=# select * from cell_000.public.zipcode limit 5;
ERROR:  cross-database references are not implemented: "cell_000.public.zipcode"
LINE 1: select * from cell_000.public.zipcode limit 5;

postgres=# CREATE EXTENSION postgres_fdw;
ERROR:  could not open extension control file "/psql/13.4/share/postgresql/extension/postgres_fdw.control": No such file or directory

postgres=# CREATE SERVER cell_000
        FOREIGN DATA WRAPPER postgres_fdw
        OPTIONS (host 'localhost', port '5413', dbname 'cell_000');
ERROR:  foreign-data wrapper "postgres_fdw" does not exist

출처: https://www.s-core.co.kr/post_dbms/faq-postgresql-extension%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%98%EB%A0%A4%EB%A9%B4-%EC%96%B4%EB%96%BB%EA%B2%8C-%ED%95%B4%EC%95%BC-%ED%95%98%EB%82%98%EC%9A%94/

설치 방법
[X] ./configure --prefix=/psql/13.4 설치 참고 [ http://iotn.co.kr/power/zboard.php?id=9_5_etc&no=107 ]
[O] install_source/contrib 이동, make, install

postgres$
cd /psql/postgresql-13.4/contrib
make

root#
cd /psql/postgresql-13.4/contrib
make install

----------------------------------
...
make -C vacuumlo install
make[1]: Entering directory `/psql/postgresql-13.4/contrib/vacuumlo'
/bin/mkdir -p '/psql/13.4/bin'
/usr/bin/install -c  vacuumlo '/psql/13.4/bin' [ 설치 위치 ]
make[1]: Leaving directory `/psql/postgresql-13.4/contrib/vacuumlo'
root#
3.235.78.122


  LIST

제목 작성자 작성일 조회
Admin  odbc_fdw test    최길호 2021/11/22 95
Admin  ERROR: cross-database references are not implemented / postgres_fdw / psql dblink    최길호 2021/11/15 130
Admin  CREATE EXTENSION postgres_fdw; [ source install ]    최길호 2021/11/15 227
Admin  psql [ 8.4.20 , 8.4.22 ] 여러 Version 운영, upgrade 8.4.20 to 8.4.22 [ 뒤 Version 다르면 그냥 시작 ]    최길호 2021/11/12 80
Admin  source make install [ 8 ~ 14 ]    최길호 2021/11/11 118
Admin  psql odbc make install    최길호 2021/11/09 82
Admin  oracle to psql dblink    최길호 2021/11/09 99
Admin  /usr/bin/initdb -D /var/lib/pgsql/test [ Instance 추가 ]    최길호 2021/11/05 68
Troubleshoot  connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?    최길호 2021/11/04 98
Troubleshoot  ERROR: current transaction is aborted, commands ignored until end of transaction block; [ postgresql-odbc upgrade ]    최길호 2021/11/04 108
Troubleshoot  pg_ctl start $PGDATA/pg_log/ 한글/영어 메세지 [ $PGDATA/postgresql.conf lc_messages ]    최길호 2021/10/29 130
Admin  pg_dumpall pg_upgrade    최길호 2021/10/21 108
Admin  통계정보    최길호 2021/10/21 87
Admin  pg_dump / pg_restore[ psql (8.4.20) to psql (14.0) ]    최길호 2021/10/20 114
Admin  PostgreSQL 14 / pgadmin Install [ lc_collate 'ko_KR.UTF-8' order by 정상 ]    최길호 2021/10/17 174
Admin  psql dblink to oracle [ odbc test ] 한글    최길호 2021/04/19 427
Admin  postgres , enterprisedb(EDB) / [ ERROR: type "number" does not exist ]    최길호 2020/09/01 234
Admin  install postgresql on docker centos:7    최길호 2020/08/31 306
Troubleshoot  psql: server closed the connection unexpectedly [ vi $PGDATA/postgresql.conf / listen_addresses='*' ]    최길호 2020/08/31 365

    목록보기   다음페이지 1 [2][3][4][5][6]
       

Copyright 1999-2022 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
최근 게시물
06/29
[ORACLE]
DDE: Problem Key 'ORA 600 [133....
by 최길호
06/25
[ORACLE]
Replication may not be valid i....
by 최길호
06/22
[운영체제]
CentOS7 홈페이지 Migration 메모.
by 최길호