Project

General

Profile

Actions

作業 #30

open

ivmのバージョンによって呼び出し方が変わる

Added by keiji ono about 2 months ago. Updated about 2 months ago.

Status:
新規
Priority:
通常
Assignee:
-
Start date:
05/10/2026
Due date:
% Done:

0%

Estimated time:

Description

v1.7では create_immv(...)でOK ubuntu postgres 16.13
v1.14では pgivm.createimmv(..)と"pgivm"を明記する必要がある mac postgres 16.13

本当かなぁ。なにか実装方法に問題があるのではなかろうか。


Related issues 2 (2 open0 closed)

Related to 機能 #11: v3.1のivm機能実装新規10/20/2025

Actions
Related to 作業 #32: v3.3に向けて新規05/13/2026

Actions
Actions #1

Updated by keiji ono about 2 months ago

v1.10以前ではcreate_immv()とする ← 古い
v1.10以降ではpgivm.create_immv()とする ←推奨

Actions #2

Updated by keiji ono about 2 months ago

  • Related to 機能 #11: v3.1のivm機能実装 added
Actions #3

Updated by keiji ono about 2 months ago

ubuntuのpg_ivmをupgradeしないとね

ubuntuでのpg_ivmのupgrade 1.7 -> 1.14

まずは環境を整えて
 sudo apt update
 sudo apt install -y build-essential make gcc
 sudo apt install -y postgresql-server-dev-16

pg_ivmのソースを取得して
 git clone https://github.com/sraoss/pg_ivm
 cd pg_ivm
 git checkout v1.14      ←ここ大事

makeする
 sudo make
 sudo make install

psqlでpostgresqlに入って
 select * from pg_available_extensions where name='pg_ivm';
 alter extension pg_ivm update;

これでv1.14が入りましたとさ

Actions #4

Updated by keiji ono about 2 months ago

Actions

Also available in: Atom PDF