From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #288: Any chance to see this extension packaged as trusted?
Date: Tue, 03 Oct 2023 19:13:41 +0000
Message-ID: <gh-pgvector-pgvector-288-c1745570158@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-288@github.com>
References: <gh-pgvector-pgvector-288@github.com>
Hi @gbartolini, thanks for the suggestion. It looks like this should be possible (as other [data and index types](https://github.com/postgres/postgres/commit/eb67623c965b4759a96309cdb58a17339fc5d401) are), but I think it'll be easiest to wait until Postgres 11 and 12 are no longer supported, as Postgres errors on unrecognized parameters in the control file.
```text
ERROR: unrecognized parameter "trusted" in file "/usr/share/postgresql/12/extension/vector.control"
```
Another option would be to try and dynamically generate the control file based on the version.