Giter Club home page Giter Club logo

Comments (5)

i0seph avatar i0seph commented on August 15, 2024

psql 에서 \dF 목록에 korean 이 나와야합니다. 나오지 않는다면, 4번 작업인 ts_mecab_ko.sql 안에 정의된 각종 작업을 성공적으로 하지 못했을 가능성이 큽니다. 그 부분을 확인해보세요.

from textsearch_ko.

bgwgit avatar bgwgit commented on August 15, 2024

답변 감사드립니다.

psql 에서 \dF 목록에 korean 이 나오지 않습니다.
4번 단계를 다시 실행해 봤는데, 결과가 아래와 같습니다.
[postgres@bgwell-100734 textsearch_ko]$ psql -f ts_mecab_ko.sql DB_NAME
SET
BEGIN
psql:ts_mecab_ko.sql:12: 오류: 이미 같은 인자 자료형을 사용하는 "ts_mecabko_start" 함수가 있습니다
psql:ts_mecab_ko.sql:17: 오류: 현재 트랜잭션은 중지되어 있습니다. 이 트랜잭션을 종료하기 전까지는 모든 명령이 무시될 것입
니다
...
ROLLBACK

1~3번까지 root 계정으로 설치 진행했는 데, 이건 문제가 없는지요?
혹시 4번 단계를 실행하는 경로나 다른 조건 같은 것들이 있을까요?
ts_mecab_ko.sql 파일 안에 있는 $libdir 은 어떤 역할을 하는지요?

감사합니다.

from textsearch_ko.

i0seph avatar i0seph commented on August 15, 2024

ts_mecab_ko.sql 파일을 까보면 함수와 사전, 검색환경 설정하는 작업들이 나옵니다.
번거롭겠지만, 그 안에 있는 각 작업들로 만들어진 개체들을 모두 하나씩 지우고, 다시 진행하면 될 것 같네요.
$libdir 은 postgres 서버 실행파일이 있는 곳 기준 lib 디렉터리를 뜻합니다. 4번 작업 전까지 아무 문제 없이 진행되었다면, 그 디렉터리 안에, ts_mecab_ko.so 파일이 있어야합니다.

시간 날 때 create extension 명령으로 설치될 수 있도록 개선해야겠네요. 많이 저주순으로 진행됩니다. 차근히 보시고 공부하시면 될 듯합니다.

from textsearch_ko.

i0seph avatar i0seph commented on August 15, 2024

이 모듈 설치 된 것 삭제 하는 작업이 uninstall_ts_mecab_ko.sql 파일이네요. 이거 실행하고, 다시 설치 sql 을 실행하면 될 것 같습니다. 그 작업에서 문제가 있으면 오류 메시지를 보여주시면 됩니다.

from textsearch_ko.

bgwgit avatar bgwgit commented on August 15, 2024

다시 차근히 확인해 봐야겠습니다.
감사합니다.

from textsearch_ko.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.