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 1lHtxo-00060M-FD for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Mar 2021 19:48:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lHtxn-0001cp-Cj for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Mar 2021 19:48:47 +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 1lHtxn-0001ci-6A for pgsql-hackers@lists.postgresql.org; Thu, 04 Mar 2021 19:48:47 +0000 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lHtxg-0000Sg-MW for pgsql-hackers@lists.postgresql.org; Thu, 04 Mar 2021 19:48:46 +0000 Received: by mail-qk1-x732.google.com with SMTP id z190so29127604qka.9 for ; Thu, 04 Mar 2021 11:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=KQiuEGxE6czLsIagEqoMkWRcZ3Be6KZuDuLN0HWmhe0=; b=MJ+9iCN4wTQZSCLofpYtGjCpDNTsoz+LRj9BeyYp0fZ1AdZsC1CpRIfXGquA6yyjcZ ovzRKWTD96i36FQDCcoXcXEGBw/Zl0J52ccw+PcbzsTvRwfpYgrjgKN5pZgtoUX34QaH ysN5KRf02zPnfGEcEqLHUVEVcbZO7rw1Eg9WcxN7WkCLW7ptIibZLL1JD1gMF11ETqul knDxwEBuIp41wkKTy4SMXqkmFe0GB1cHAAcIuwjbKPawdyf1zsCpstzfKoEZRKRfx4ia 7fogv9mdaVVMwGpUgL0g9kXLpMpuIPWIG4TKcI5LFnJK5nFaiPZKV1WQmIicorkl6MpX kVYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KQiuEGxE6czLsIagEqoMkWRcZ3Be6KZuDuLN0HWmhe0=; b=ZdTqq33EH3a6Y1AE++vyipAIbw0udqg8B9VtFq7SVx452nHNBGXLIzYRWek4SnJjlS Bd0rfr0za0ArsN+K/zBRdqnp6KeS/XeUwh8smSgYNfZccpjNS/KpS4zMse25FmVBDPdV fb5CZCHSRRcg6OWT7dlhPv3GPbMdZEKK0jjzziXnR0IcnxYG0AA7ZSNzjJNkxxBD6MKe aDBZFBAAIKK2zf78+6Fo1GcUgEn9h98MGTwI3ICtdZdyagPYvcZIvLRjTipPQwW4RNQX ZqL1q6iT5G9+oGO5vKxoqlssltbGwxR0vAMxxQoYP+JTyO4rs4EtnYlgF5GqM7p/CRhN osjw== X-Gm-Message-State: AOAM533anrDlouijhVb0rptBXN/qL4110gMKe+invRgOsRuGXjxk9joU weMIZYD+adPsFd/hmm4qdi1UCw== X-Google-Smtp-Source: ABdhPJwcYdGWzCTISekrEhLbLDRFVov4Pod8B/PtiMSGjVQT1RVvg/EXu8sFbvOGeEEBTZPLJsD0YQ== X-Received: by 2002:a37:4a89:: with SMTP id x131mr5437540qka.233.1614887318849; Thu, 04 Mar 2021 11:48:38 -0800 (PST) Received: from perhan.alvh.no-ip.org ([190.95.19.95]) by smtp.gmail.com with ESMTPSA id o7sm189674qki.63.2021.03.04.11.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 11:48:38 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0EA192A14F6; Thu, 4 Mar 2021 16:48:37 -0300 (-03) Date: Thu, 4 Mar 2021 16:48:37 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: pgsql-hackers@lists.postgresql.org, Craig Ringer , Matthieu Garrigues , Zhihong Yu , Ibrar Ahmed , Thomas Munro Subject: Re: [HACKERS] PATCH: Batch/pipelining support for libpq Message-ID: <20210304194837.GA5454@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210304192409.GA4538@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Mar-04, Alvaro Herrera wrote: > v30 contains changes to hopefully make it build on MSVC. Hm, that didn't work -- appveyor still says: Project "C:\projects\postgresql\pgsql.sln" (1) is building "C:\projects\postgresql\pipeline.vcxproj" (75) on node 1 (default targets). PrepareForBuild: Creating directory ".\Release\pipeline\". Creating directory ".\Release\pipeline\pipeline.tlog\". InitializeBuildStatus: Creating ".\Release\pipeline\pipeline.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Isrc/include /Isrc/include/port/win32 /Isrc/include/port/win32_msvc /Zi /nologo /W3 /WX- /Ox /D WIN32 /D _WINDOWS /D __WINDOWS__ /D __WIN32__ /D WIN32_STACK_RLIMIT=4194304 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _MBCS /GF /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Release\pipeline\\" /Fd".\Release\pipeline\vc120.pdb" /Gd /TC /wd4018 /wd4244 /wd4273 /wd4102 /wd4090 /wd4267 /errorReport:queue /MP src/test/modules/test_libpq/pipeline.c pipeline.c src/test/modules/test_libpq/pipeline.c(11): fatal error C1083: Cannot open include file: 'libpq-fe.h': No such file or directory [C:\projects\postgresql\pipeline.vcxproj] Done Building Project "C:\projects\postgresql\pipeline.vcxproj" (default targets) -- FAILED. Project "C:\projects\postgresql\pgsql.sln" (1) is building "C:\projects\postgresql\test_parser.vcxproj" (76) on node 1 (default targets). I think the problem is that the project is called pipeline and not test_libpq, so there's no match in the name. I'm going to rename the whole thing to src/test/modules/libpq_pipeline/ and see if the msvc tooling likes that better. -- Álvaro Herrera 39°49'30"S 73°17'W