[postgis-devel] Threading in BGWorkers

Greg Troxel gdt at lexort.com
Mon Jun 22 03:52:05 PDT 2020


James Sewell <james.sewell at jirotech.com> writes:

>    3. it's safe for postgres to call any system library function, even
>       ones explicitly marked as not thread safe

> 3. needs to be converted to a list of possible calls - which can be done
> and checked.

"checked" how?  Presumably the issue is that posix doesn't say they are
ok, but somehow they are.  Do you mean

  checked by reading the operating system sources ont he particular
  system you happen to be using

and for this to be a local decision to exceed the normal safety
guidelines?  Or do you mean something larger scale?


More information about the postgis-devel mailing list