BUG #16460: Error when executing REFRESH MATERIALIZED VIEW WITH DATA; - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16460: Error when executing REFRESH MATERIALIZED VIEW WITH DATA;
Date
Msg-id 16460-10eb2aec093f5967@postgresql.org
Whole thread Raw
Responses Re: BUG #16460: Error when executing REFRESH MATERIALIZED VIEW WITHDATA;  (Michael Paquier <michael@paquier.xyz>)
Re: BUG #16460: Error when executing REFRESH MATERIALIZED VIEW WITH DATA;  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16460
Logged by:          Randall Williams
Email address:      randall.williams@analyteks.com
PostgreSQL version: 12.3
Operating system:   macOS 10.14.6
Description:

Here is the error message:

ERROR:  could not load library
"/Library/PostgreSQL/lib/postgresql/llvmjit.so":
dlopen(/Library/PostgreSQL/lib/postgresql/llvmjit.so, 10): 
Library not loaded: @loader_path/../..//opt/local/lib/libncurses.6.dylib
Referenced from: /Library/PostgreSQL/lib/postgresql/llvmjit.so
Reason: image not found

When the error occurs, I am running as a non-administrative user in macOS
and as a non-administrative user in pgAdmin 4.

PostgreSQL was installed using the EDB Mac OS X installer for PostgreSQL
version 12.3. The pgAdmin 4 version is 4.21.0. The Materialized View was
created using the Create Materialized View contextual menu and the
Materialized View was successfully saved. When the command to Refresh
Materialized View was issued using the contextual menu, the error was
generated about in about 0.25 sec. and the status code shown is: Failed
(exit code: 1). PgAdmin 4 was used to refresh 36 other Materialized Views
without error. This was the only case where an error occurred.

The files llvmjit.so and llvmjit_types.bc are both installed in
/Library/PostgreSQL/lib/postgresql. File ownership for llvmjit.so is
root:daemon and permissions are set to rwxr-xr-x.


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16459: YUM pgdg11-updates-debuginfo repository missing repodata/repomd.xml for RHEL8*
Next
From: PG Bug reporting form
Date:
Subject: BUG #16461: Segfault in autovacuum process