pgrx icon indicating copy to clipboard operation
pgrx copied to clipboard

Reading / writing Postgres block files

Open ccleve opened this issue 3 years ago • 1 comments

Postgres stores data in files of 8k block, and has primitives for reading, writing, and locking these files. Has pgx wrapped any of that functionality? Is there any sample code?

ccleve avatar Nov 15 '21 18:11 ccleve

pgx has not wrapped any of that. I'm not sure if the bindings are there for everything either.

If they're not, send us a list of the headers you need and we'll cut a new release. Or feel free to edit pgx' include/*.h files and send us a PR.

eeeebbbbrrrr avatar Nov 23 '21 21:11 eeeebbbbrrrr