Chris Cleveland
Chris Cleveland
We still need this. The workarounds are a pain. Please add an `@Components` annotation or some equivalent.
rustc 1.72.1 (d5c2e9c34 2023-09-13) Just now, I did a `rustup update` to 1.73. Same error. On Mon, Oct 16, 2023 at 8:11 PM Jubilee ***@***.***> wrote: > That's... odd. What...
It says "use crate::pg_sys::Relation;" at the top of the file. Hover over it in CLion and it says: pgrx_pg_sys::include::pg16 pub type Relation = *mut RelationData On Mon, Oct 16, 2023...
The workaround, for now, is to put #![allow(improper_ctypes)] in lib.rs.
Some thoughts: 1. I'm unlikely to use fn_call() very much except for one-offs, calls that get made once or a small number of times during a transaction. In that case,...
This is the best documentation on hooks that I've seen: https://github.com/taminomara/psql-hooks There is some decent sample code in C that you might be able to adapt.
I used code that is almost identical to that in ZDB. Literally identical. On Wed, Oct 11, 2023, 2:47 PM Eric Ridge ***@***.***> wrote: > Just before I call the...
There's a lot of intervening code. Let me make a small example that reproduces the problem. On Fri, Oct 13, 2023 at 10:58 AM Eric Ridge ***@***.***> wrote: > I...
I can't comment on the best way to implement things internally, but I can tell you what would make life easier. ``` #[repr(C)] struct Foo { bar: String, } #[pg_guard]...
You might consider implementing an API that looks like existing Rust arena allocators. Bumpalo is a good one. It's very intuitive. https://github.com/fitzgen/bumpalo