Re: pg_preadv() and pg_pwritev() - Mailing list pgsql-hackers

From Sergey Shinderuk
Subject Re: pg_preadv() and pg_pwritev()
Date
Msg-id fc610391-a95d-aae5-8347-4919f97cdb49@postgrespro.ru
Whole thread Raw
In response to Re: pg_preadv() and pg_pwritev()  (Sergey Shinderuk <s.shinderuk@postgrespro.ru>)
List pgsql-hackers
On 15.01.2021 04:53, Sergey Shinderuk wrote:

> I see that "xcrun --sdk macosx --show-sdk-path" really calls
> "/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk 
> macosx -version Path" under the hood.
> 

... and caches the result. xcodebuild not called without --no-cache.
So it still make sense to fall back on xcodebuild.

% sudo dtrace -n 'pid$target::popen:entry { trace(copyinstr(arg0)) }' -c 
'xcrun --sdk macosx --show-sdk-path'
dtrace: description 'pid$target::popen:entry ' matched 1 probe
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
dtrace: pid 26981 has exited



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_preadv() and pg_pwritev()
Next
From: Michael Paquier
Date:
Subject: Re: O(n^2) system calls in RemoveOldXlogFiles()