EnterpriseDB/system_stats

Building for PG 16 not working

Closed this issue · 3 comments

I am trying to build the extension for PG 16rc1.

It fails with an error.

Are you planning to update the extension any time soon?

Works fine for me. What error do you get?

$ bin/psql -p 5436 postgres
Pager usage is off.
psql (16rc1)
Type "help" for help.

postgres=# CREATE EXTENSION system_stats;
CREATE EXTENSION

postgres=# \x on
Expanded display is on.
postgres=# SELECT * FROM pg_sys_os_info();
-[ RECORD 1 ]-------+------------------------------------------------------------------------------------------------------
name                | Darwin
version             | Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000
host_name           | wopr.conx
domain_name         | 
handle_count        | 
process_count       | 521
thread_count        | 
architecture        | arm64
last_bootup_time    | 
os_up_since_seconds | 3638724

For building system stats extension, I used:

$ git clone https://github.com/EnterpriseDB/system_stats.git
$ cd system_stats
$ make
$ make install

I have attached the output showing the error.
make_error.txt

ah, I see - thanks. I've submitted a PR and will ask one of my colleagues to review it: #11