• Postgres 9.2 설치하기
    Oracle Linux 8 환경에 PostgreSQL 9.2.24 버전을 설치하는 것은 매우 까다롭습니다.PostgreSQL 9.2는 매우 오래된 버전으로, Oracle Linux 8의 기본 저장소는 물론, PostgreSQL 공식 yum 저장소에도 포함되어 있지 않습니다. 이 버전은 보안 업데이트가 중단되어 다수의 취약점이 존재하므로, 운영 환경에서는 절대 사용하지 않는 것을 강력히 권장합니다.만약 반드시 이 버전을 사용해야 한다면, 소스 코
  • Database Tools
    OpenSourceFree versionPaid versionDBeaver✅✅✅Navicat✅✅DbVisualizer✅✅✅TablePlus✅✅DataGrip✅Beekeeper Studio✅✅✅PopSQL✅✅Bytebase✅✅✅
  • Centos7 Postgres 삭제
    CentOS 7에서 현재 설치된 모든 PostgreSQL 패키지를 삭제하는 절차는 다음과 같습니다. 이 절차는 PostgreSQL 패키지뿐만 아니라 관련된 데이터베이스 데이터도 삭제할 수 있으므로, 필요한 데이터가 있다면 백업을 먼저 수행하는 것이 좋습니다.1. PostgreSQL 서비스 중지먼저 PostgreSQL 서비스를 중지합니다.sudo systemctl stop postgresql2. PostgreSQL 패키지 제거다음으로, 설치된 P
  • VartureBox Test DB Setting
    1. PostgreSQL 설치 저장소 추가먼저, 공식 PostgreSQL 저장소를 추가해야 합니다. 최신 버전을 사용하도록 PostgreSQL 14 버전을 설치하도록 하겠습니다.sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm2. PostgreSQL 설치저장소를 추가한 후 Pos
  • DB:Table JSON Type Field Select Query
    DB->table JSON Field Query $results = DB::table('prom_prd_remain_log') ->whereRaw("EXISTS (SELECT 1 FROM json_array_elements(display_data) AS arr_display_data WHERE (arr_display_data->>'remainCount')::int = 77)") ->get();
  • postgreSQL + Docker
    https://www.youtube.com/watch?v=aHbE3pTyG-Q1 첫번째 순서간단한 설명 가나다라마바사아.1.1 기본설치You can create an instance with the following code and use getHtml() and getMarkdown() of the Editor.const editor = new Editor(options);See the table below for default options
  • PostgrSQL + Rocky
    1 설치sudo dnf update dnf module list postgresql sudo dnf module reset postgresql sudo dnf module enable postgresql:12 sudo dnf install postgresql-server postgresql // sudo /usr/pgsql-16/bin/postgresql-16-setup initdb sudo postgresql-setup --initdb su
  • 데이타 베이스에 일자 형식 0000-00-00 업데이트를 지원하지않을때
    SET sql_mode=(SELECT REPLACE(@@sql_mode,'NO_ZERO_DATE',''));