Open xingtanzjr opened 1 month ago
Are you testing the code against a pgrx-built database? One with assertions enabled? That should have caught this behavior.
@workingjubilee Yes. I install this extension using cargo pgrx install
and start the postgres like this
Cargo pgrx start pg15
Cargo pgrx connect pg15
Hi there,
I am trying to open a table by Oid in a background worker. But it encountered segmentation fault when trying to open the table.
Here is my code snip
I tried to debug it and found that the error occurs here:
It seems that the
RelationIdCache
is NULLIs someone met the similar issue before ? thanks for your input!