/usr/share/postgresql/ is in postgresql-10-pgq3 3.2.6-7.
This file is owned by root:root, with mode 0o755.
..
/usr/share/postgresql/10/
/usr/share/postgresql/10/contrib/
/usr/share/postgresql/10/contrib/newgrants_pgq.sql
/usr/share/postgresql/10/contrib/oldgrants_pgq.sql
/usr/share/postgresql/10/contrib/pgq.sql
/usr/share/postgresql/10/contrib/pgq.upgrade.sql
/usr/share/postgresql/10/contrib/pgq_lowlevel.sql
/usr/share/postgresql/10/contrib/pgq_pl_only.sql
/usr/share/postgresql/10/contrib/pgq_pl_only.upgrade.sql
/usr/share/postgresql/10/contrib/pgq_triggers.sql
/usr/share/postgresql/10/contrib/uninstall_pgq.sql
/usr/share/postgresql/10/extension/
/usr/share/postgresql/10/extension/pgq--3.1--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.1.1--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.1.2--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.1.3--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.1.6--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.2--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.2.3--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--3.2.6.sql
/usr/share/postgresql/10/extension/pgq--unpackaged--3.2.6.sql
/usr/share/postgresql/10/extension/pgq.control