-
The --bgworker option seems useful, but it spits out quite outdated code.
```
$ cargo pgx new mybgw --bgworker
$ cd mybgw
$ cargo pgx run pg15
error[E0599]: no function or associated item named `…
-
Bindgen allows you to create a "rustified non-exhaustive enum" from a C enum. This is used by pgrx-pg-sys for a specific C enum, `NodeTag`, because
- NodeTag has a well-defined, finite list of varian…
-
There exists a FFI to load dynamic native code from the Prolog side, but I would like to expose Rust functions as predicates when creating a new prolog machine.
The use case is for my experimenta…
tatut updated
5 months ago
-
See, for example, [this build](/tembo-io/pg-jsonschema-boon/actions/runs/9879155965/job/27284755224), which outputs a couple of these:
```
warning: unused import: `std::error::Error`
--> src/l…
-
Postgres supports a `COMMENT ON {item}` functionality. We should be taking docstrings from Rust code and propagating these into `COMMENT ON {item}` SQL. Possibly we should be only taking the first lin…
-
Hi,
I am creating unit tests with custom types, and I think there may be an issue when it comes to returning a custom type after calling the `Spi::get_one` method. When trying the example code for …
-
I've been working on trying to get pgrx to work under windows. More specifically msys2/mingw64 which I think is an easier task to do than MSVC builds since msys2 uses unix tooling for building.
I …
-
This would, I think, make it easier to run these in CI, because they'd stop being completely distinct packages... but that may be the problem? Some examples, like the bgworker example, require special…
-
#[pg_extern]
fn get_u32() -> u32 {
let a: u32 = 2;
a
}
Error:
0: Could not write SQL to /home/postgres/pg16/share/extension/postgrid--0.0.0.sql
1: Got non-plain mapped/composit…
-
### Problem
I was hoping to include `-Zpackage-workspace` as part of a workspace's CI so that it doesn't repeat certain embarrassing mistakes, but it didn't work as expected with respect to certain…