David E. Wheeler

Results 143 issues of David E. Wheeler

### What Docs changes are you proposing? It looks like the Bundling section of the Structuring doc needs updating for v2020-12. Proposed changes: * Use full `$id` in sub-schemas *...

📝 Documentation
Status: Available

Add these secrets to the project (or to the plv8 org settings): `PGXN_USERNAME` and `PGXN_PASSWORD`.

Builds and runs tests on Postgres 14 - 16. Couldn't get it to automatically init the submodule, so doing it manually. One test fails on my system; let's see if...

Often the user who owns the SHAREDIR is different from the user who the tests should be run as. Specifically, this causes problems for `cargo pgrx test` when `root` owns...

test-support

While working on pgxn/docker-pgxn-tools#16, using the newly-released v0.11.4, I found that running `cargo pgrx test --runas postgres --pgdata $dir` a second time fails with this error: ``` Failed to initialize...

test-support
cargo-pgrx

I found that running tests with `--runas postgres` would fail when I had a test that depended on the `CARGO_MANIFEST_DIR` environment variable. I fixed it in tembo-io/pg-jsonschema-boon@d7cb0d6 thanks to a...

test-support
cargo-pgrx

While working on pgxn/docker-pgxn-tools#16, using the newly-released v0.11.4, I found that running `cargo pgrx install` *after* running `cargo pgrx test --runas postgres` can produce linker errors: ``` error: linking with...

I created a new extension: ```sh cargo pgrx new separate_tests ``` Then followed the first example in [this Discord post](https://discord.com/channels/710918545906597938/1117863684916645930/1224852840112197663) to try to move tests into a separate file, replacing...

test-support

In follow-up to #1631, I followed the second example in [this Discord post](https://discord.com/channels/710918545906597938/1117863684916645930/1224852840112197663), setting up the test module like so: ```rust #[cfg(test)] #[path = "./tests.rs"] mod test; ``` And the...

test-support

I wanted to use the `directory` control file option; from [the docs](https://www.postgresql.org/docs/16/extend-extensions.html#EXTEND-EXTENSIONS-FILES-DIRECTORY): > `directory` (string) > The directory containing the extension's SQL script file(s). Unless an absolute path is given,...

enhancement
cargo-pgrx