"myschema.hstore"; ◦ ERROR: extension "myschema.hstore" is not available ◦ DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/myschema.hstore.co ntrol": No such file or directory. ◦ HINT: The extension must first be installed on the system where PostgreSQL is running. 他のオブジェクトとの違い : create時
myschema; ◦ ERROR: syntax error at or near "SCHEMA" • dot notationも利用できない ◦ test=# DROP EXTENSION IF EXISTS "myschema.hstore"; ◦ NOTICE: extension "myschema.hstore" does not exist, skipping 他のオブジェクトとの違い : drop時
in which to install the extension's objects, given that the extension allows its contents to be relocated. • https://www.postgresql.jp/document/16/html/sql-createexten sion.html • > 拡張の内容を再配置させることができる場合に、拡張のオブジェクトを インストールするスキーマの名前です。 Documentation (下線部は発表者による )
a “namespace” column, extnamespace is not meant to imply that the extension belongs to that schema. Extension names are never schema-qualified. Rather, extnamespace indicates the schema that contains most or all of the extension's objects. If extrelocatable is true, then this schema must in fact contain all schema-qualifiable objects belonging to the extension. Relocated / 再配置 (下線は発表者 )