Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0ETR-0002db-Hq for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2021 02:04:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l0ETP-0004d0-LG for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2021 02:04:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0ETP-0004ct-Ew for pgsql-hackers@lists.postgresql.org; Fri, 15 Jan 2021 02:04:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0ETN-00048y-A5 for pgsql-hackers@postgresql.org; Fri, 15 Jan 2021 02:04:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10F24Apx1622108; Thu, 14 Jan 2021 21:04:10 -0500 From: Tom Lane To: Sergey Shinderuk cc: Thomas Munro , pgsql-hackers Subject: Re: pg_preadv() and pg_pwritev() In-reply-to: <7848499f-488e-4402-a5d5-e1395efca523@postgrespro.ru> References: <20201220224040.evr5pduibvm6dze5@alap3.anarazel.de> <448b3cb5-0ba0-6dc5-63c7-789e4eebc40b@postgrespro.ru> <1283127.1610554395@sss.pgh.pa.us> <1286060.1610558607@sss.pgh.pa.us> <1297389.1610562046@sss.pgh.pa.us> <1341608.1610580122@sss.pgh.pa.us> <1410650.1610638974@sss.pgh.pa.us> <1418166.1610647514@sss.pgh.pa.u! s> <1419199.1610649100@sss.pgh.pa.us> <1612230.1610662425@sss.pgh.pa.us> <7848499f-488e-4402-a5d5-e13! 95efca523@postgrespro.ru> Comments: In-reply-to Sergey Shinderuk message dated "Fri, 15 Jan 2021 04:53:46 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1622106.1610676250.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 14 Jan 2021 21:04:10 -0500 Message-ID: <1622107.1610676250@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Sergey Shinderuk writes: > 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. Hmm. I found something odd on my wife's Mac: although on my other machines, I get something like $ xcrun --verbose --no-cache --show-sdk-path xcrun: note: looking up SDK with '/Applications/Xcode.app/Contents/Develop= er/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Plat= forms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -version PlatformPath' xcrun: note: PATH =3D '/Users/tgl/testversion/bin:/usr/local/autoconf-2.69= /bin:/Users/tgl/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:= /sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/Tcl/bin:/opt/X11/bin' xcrun: note: SDKROOT =3D '/Applications/Xcode.app/Contents/Developer/Platf= orms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' xcrun: note: TOOLCHAINS =3D '' xcrun: note: DEVELOPER_DIR =3D '/Applications/Xcode.app/Contents/Developer= ' xcrun: note: XCODE_DEVELOPER_USR_PATH =3D '' xcrun: note: xcrun_db =3D '/var/folders/3p/2bnrmypd17jcqbtzw79t9blw0000gn/= T/xcrun_db' xcrun: note: lookup resolved to: '/Applications/Xcode.app/Contents/Develop= er/Platforms/MacOSX.platform' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel= oper/SDKs/MacOSX.sdk on her machine there's no detail at all: % xcrun --verbose --no-cache --show-sdk-path /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk So I'm not sure what to make of that. But I'm hesitant to assume that xcrun is just a wrapper around xcodebuild. regards, tom lane