Magnus Hagander <magnus(at)hagander(dot)net> writes:
> 2009/10/20 Dave Page <dpage(at)pgadmin(dot)org>:
>> Yeah, and there's a similar API on *BSD I believe, but nothing standard.
> Right, but it might be worth investigating using the API that's
> available on the platform, if one is. It's a fairly simple operation
> after all, so it won't take huge amounts of platform-specific code.
It would be a seriously bad idea for this to behave one way on some
platforms and differently on others.
regards, tom lane