Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3aQb-00DQ7M-JR for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Oct 2024 12:25:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t3aQZ-009HLL-Sc for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Oct 2024 12:25:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3aQZ-009HLC-A5 for pgsql-hackers@lists.postgresql.org; Wed, 23 Oct 2024 12:25:27 +0000 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t3aQV-002RwG-Jl for pgsql-hackers@lists.postgresql.org; Wed, 23 Oct 2024 12:25:25 +0000 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7b148919e82so495430885a.0 for ; Wed, 23 Oct 2024 05:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1729686322; x=1730291122; darn=lists.postgresql.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=Ls7Bh1f6IOZQmjQHkUb5Xk37YDxcRQ38Z7cmiQI/76Y=; b=G0ihaYSJ1V33IN2rRm2wCGxa02f7kxN/Qg1bDUXoesXjl6XoOqA7p+t9hEh9jvHyzX Xg/UZDb7vj+FS58nbeabdKZdzvWI1NLmnxsI9S6NGA0jatdAButp7hT/fp4LXRvynQCT cUz85/UVWoQ/NjWX+5Y9iEn4+QC7nWPo4DXKjqoru9/aOMMa4NAZxFnnzUlEM/C11+yt Aqyr9xpHmDdHR8w5HsPY4twdOAG0/JcE4UMktdnDG0l0kff7NS65Aqa3OXTb7hK6ohLl qXau95LpaW+jb1vq3hg5PSl+hJjSmk/GrBf/yaQgiwHc8tj7T1j1e87b73esRA1NuU/7 sG8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729686322; x=1730291122; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ls7Bh1f6IOZQmjQHkUb5Xk37YDxcRQ38Z7cmiQI/76Y=; b=WVeRwAu7TACnwQ9dt6A3Axi6Q5DxjzntK6jiIHv3qLJ3g0mkxqOBzTBeMLUe6Wms2m pIVnvWncHvudWXMUiYfachuPxoLwMKuem5TBY/UmN0AQqSHmZZRzhDWfcOK4EKvITq4P 5P2e8dQvVF8TyOUNhNISXLSLM9+mqTLSABMhw7V295imbLamD6iORr2w0kLHSi2iGWF9 LwsB+N4a894Tm0+oUZEZX3SNfn7hL2XtsGE9gWqvKCdLEgIq6vPlprfs+ScXiRvwuyt9 BZRQXmOORE4h5EgBxPxf0u5/B8jbYd41dz1P7qGbVsCfpMN53RwpT+61aWE1WMEAgPMb H/Ew== X-Gm-Message-State: AOJu0YwPG3cuOlKybaxLP2YV69AhDhVd24EJz1Upgf864WCF+CDcp7Wi gNA77OQnTQBXjEx8nkJgAXvlwSReZyDXS5XnfRvyPLSRUmJaYKfdIHVUduxeUg== X-Google-Smtp-Source: AGHT+IF1kNJjc6xN9Apa3fsiNdKGn1aDIzre12jppNBBVnhJi/Li33n8aFfdGtBatOXsfSMi55SqtA== X-Received: by 2002:a05:620a:28cb:b0:7b1:48ff:6b63 with SMTP id af79cd13be357-7b17e56a2cbmr279968285a.22.1729686322453; Wed, 23 Oct 2024 05:25:22 -0700 (PDT) Received: from smtpclient.apple (pool-96-237-100-27.bstnma.fios.verizon.net. [96.237.100.27]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b1659e4400sm379694885a.42.2024.10.23.05.25.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2024 05:25:22 -0700 (PDT) From: Bill Smith Message-Id: <269699A2-3A24-4301-8B6A-85912BBC93CE@enterprisedb.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_39BA90A6-154C-44B1-A272-F5DC8868BD83" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: msvc directory missing in PostgreSQL 17.0 Date: Wed, 23 Oct 2024 08:25:11 -0400 In-Reply-To: Cc: "pgsql-hackers@lists.postgresql.org" To: Mark Hill References: <1A2E53DD-7159-4547-852F-45F2E0CE1D9F@enterprisedb.com> X-Mailer: Apple Mail (2.3776.700.51.11.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_39BA90A6-154C-44B1-A272-F5DC8868BD83 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Check out this: https://wiki.postgresql.org/wiki/Meson There's a table showing the setup & build commands using the old way and = the new way (meson). > On Oct 21, 2024, at 4:12=E2=80=AFPM, Mark Hill = wrote: >=20 > Thanks Bill! Do you have a sample meson command for building that = you could share? >=20 > Thanks, Mark > =20 > From: Bill Smith > > Sent: Friday, October 18, 2024 4:11 PM > To: Mark Hill > > Cc: pgsql-hackers@lists.postgresql.org = > Subject: Re: msvc directory missing in PostgreSQL 17.0 > =20 > EXTERNAL >=20 > =20 >=20 >=20 > On Oct 18, 2024, at 4:05=E2=80=AFPM, Mark Hill > wrote: > =20 > I just downloaded the Postgresql 17.0 and the extracted directory = postgresql-17.0/src/tools does not contain > the =E2=80=9Cmsvc=E2=80=9D directory as it has since I=E2=80=99ve been = building Postgres 12, 14, and 16. How am I supposed to build > PostgreSQL for Windows now? I=E2=80=99m not sure what msvc_gendef.pl = does. How do we build Postgres for Windows > using Visual Studio? >=20 > =20 > You=E2=80=99ll want to use meson to build PG. See the docs here: > > 17.7.=C2=A0Platform-Specific Notes = > postgresql.org = >=20 >=20 > Thanks, Mark --Apple-Mail=_39BA90A6-154C-44B1-A272-F5DC8868BD83 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Check out = this:

There's a table showing the setup & build = commands using the old way and the new way (meson).

On Oct 21, 2024, at 4:12=E2=80=AFPM, Mark Hill = <Mark.Hill@sas.com> wrote:

Thanks = Bill!   Do you have a sample meson command for building that = you could share?

Thanks, Mark
 
From: Bill Smith <bill.smith@enterprisedb.com>
Sent: Friday, October 18, 2024 = 4:11 PM
To: Mark Hill <Mark.Hill@sas.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: 
Re: msvc directory missing = in PostgreSQL 17.0
 

EXTERNAL

 


On Oct 18, 2024, at 4:05=E2=80=AFPM, Mark Hill = <Mark.Hill@sas.com> = wrote:
 
I just downloaded the = Postgresql 17.0 and the extracted directory postgresql-17.0/src/tools = does not contain

the =E2=80=9Cmsvc=E2=80=9D = directory as it has since I=E2=80=99ve been building Postgres 12, 14, = and 16.   How am I supposed to build
PostgreSQL for Windows = now?   I=E2=80=99m not sure what msvc_gendef.pl = does.   How do we build Postgres for Windows
using Visual = Studio?

 
You=E2=80=99ll = want to use meson to build PG.  See the docs = here:


Thanks, = Mark

= --Apple-Mail=_39BA90A6-154C-44B1-A272-F5DC8868BD83--