2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

結論

パッケージには16対応版が入っていないが、masterブランチは16対応しているのでcloneして使う

互換性確認

公式のニュース一覧を見ても16に対応している情報はない
https://pgbigm.github.io/pg_bigm/
16でのmakeを試みても失敗する

PRを見てみる

https://github.com/pgbigm/pg_bigm/pull/5
https://github.com/pgbigm/pg_bigm/pull/6
上のPRでは16への対応がマージされている

ソースをもってくる

パッケージからではなく、ソースをcloneしてビルドする方針で進める

git clone https://github.com/pgbigm/pg_bigm.git
cd pg_bigm
make USE_PGXS=1 PG_CONFIG=/usr/local/pgsql-16.0/bin/pg_config 
make USE_PGXS=1 PG_CONFIG=/usr/local/pgsql-16.0/bin/pg_config install

make,make installまでできたのでcreate extensionできるか確認する

postgres=# select version();
                                                 version
----------------------------------------------------------------------------------------------------------
 PostgreSQL 16.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2), 64-bit
(1 row)

postgres=# CREATE EXTENSION IF NOT EXISTS pg_bigm;
CREATE EXTENSION
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?