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 1up9np-0003x6-GI for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Aug 2025 18:14:22 +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 1up9no-000oxr-UH for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Aug 2025 18:14:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1up9no-000oxj-Jd for pgsql-hackers@lists.postgresql.org; Thu, 21 Aug 2025 18:14:21 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1up9nm-0018Ra-1Q for pgsql-hackers@lists.postgresql.org; Thu, 21 Aug 2025 18:14:20 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-6188b72b7caso1903782a12.2 for ; Thu, 21 Aug 2025 11:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1755800055; x=1756404855; darn=lists.postgresql.org; h=message-id:date:content-transfer-encoding:mime-version:comments :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dJ8yPaJUNELtQa1xC6NXbZN8TuI9zaGGPN6ZdMbCRnY=; b=Y3oTDnYoGhTD/J/EyoHNOeoBPIrrO4+13NyXzP93qfmyhpYmtVTuWbOrMykiCgd85E 6585q3whyBTh2ANP57y33RICLxlshfaqIF/hWzbATNuVbFF4GysgoQX8je9mx82VKo5T m7Gv8JNHN/VtA6mnI49FhOUe79fmL/7J5VRER7jdlHqZFDpWTL8iQcWLbKQRgRmQkrEP PtRsViOW/W14TySqSOfEMdR2mRKk0z6JTzYaAmdwDdITgB5Bbn1YYE7qSlpy5gzIsTkV BCKHvUcFSPuGFJtCBVjvEMli+kChpOijDETXCRbHfvPCFyCwIl+YJqv46HJk5/82UkhX B9+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755800055; x=1756404855; h=message-id:date:content-transfer-encoding:mime-version:comments :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dJ8yPaJUNELtQa1xC6NXbZN8TuI9zaGGPN6ZdMbCRnY=; b=aP8YYUvuxpM5KXOKSfoHBlCDLHnLNyuzQ9tR8TZl97XjPkxIVs32sc5pElshrsOawV uhAjaj5/VTS8AAgD+9/tTs6KRPBPKz5LEiNHt6q68IBAkxcqT9+u5F3ufSZ7QNWTTpYP lMFqZplDuZjex7GEWGJcmPDxxAPuql1haCIVukcyXVFfnVKzY5OCMMSSWGw9D/XFqQ/h rfE1EPZKmh31f1/DC+v727izBQn94f5YgfvG8fKisAD19d8vcpVxOc4ZnJdOw0jilKvE 1E9INdI3mxB+Ltvg7Z+H8zSTYLt/xtvX4RZ8voL3cOnMBkNO/3ORjsG/bSPFiXmkf1O3 ysyQ== X-Forwarded-Encrypted: i=1; AJvYcCXOHwHT0sDbQROsKB/9gTQzGmuXTfnvebeqClNtIppZ+Aw1rMJSauBZiiqELtd+nSgrJrwlDQqIifns+3RY@lists.postgresql.org X-Gm-Message-State: AOJu0Ywi3YHtd5yWfg2TPfWt7aZFX5vyM1qAHzLrLsnKpizLrvReLaSj /Is6utAWBtX1w8OeO+g83YlbsWuGmIFhOhrS2RP1f3szR2mQr+3nnIAmFzaSHFyVJ38= X-Gm-Gg: ASbGncsdXOFR6k8u/fLtALodrWrfMVo2Om8S7Vwz2/LWq+IGR+VT5IiDUOV9pcJ764y FFNYddMCHgEIjjN9APiDKgUPlyasemWiUUsDgo5uNx9+ZwSFzMqoVNHxgbSTZwfDb4BLSIP8iSP Y/xwljd3WdOrAIMXxUH1M5tF3nLBdBg+6bh9qVkyqIdVbbUOfAThtmOVVsFQt1EWMtnRDAxXbh0 MA2Whx0MZheC3ii/qTqZzolPT8Enaob4W9mKm52lbpdX+EK6FZc+IojEnnim3u2DKo0W/unebhk DeXrIj1+O/ZOw1STqRa4KvEa7w4UH6SijmrtnWMWNbZQKsYlniV6AwuOrfsmrSnRzo6/cFlP+mr h5oqhrA6aSREgnM5idtx76NrnUQYLMEJNeIieRn+XIeIg3pQ= X-Google-Smtp-Source: AGHT+IHHU8pUzoojIt0rsTv7zpET+U9p9AErIfJ+u0Dhz3Pdf/zz0C09M77j6K78aLt7jw/tLL9d4A== X-Received: by 2002:a05:6402:4349:b0:618:528b:7f9b with SMTP id 4fb4d7f45d1cf-61c1b6fb807mr4551a12.31.1755800054983; Thu, 21 Aug 2025 11:14:14 -0700 (PDT) Received: from localhost (109-81-168-144.rct.o2.cz. [109.81.168.144]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61a758bff1csm5942254a12.56.2025.08.21.11.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Aug 2025 11:14:14 -0700 (PDT) From: Antonin Houska To: Andres Freund cc: alvherre@kurilemu.de, pgsql-hackers@lists.postgresql.org, Robert Treat , Fujii Masao , Mihail Nikalayeu Subject: Re: Adding REPACK [concurrently] In-reply-to: References: <202508201207.wiyqibatotwz@alvherre.pgsql> <49679.1755699761@localhost> Comments: In-reply-to Andres Freund message dated "Wed, 20 Aug 2025 12:11:39 -0400." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 21 Aug 2025 20:14:14 +0200 Message-ID: <41238.1755800054@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund wrote: > Hi, >=20 > On 2025-08-20 16:22:41 +0200, Antonin Houska wrote: > > =C3=81lvaro Herrera wrote: > > > > > On 2025-Aug-20, Antonin Houska wrote: > > > > > > > There's an issue with the symlink, maybe some meson expert can help= . In > > > > particular, the CI on Windows ends up with the following error: > > > > > > > > ERROR: Tried to install symlink to missing file C:/cirrus/build/tmp= _install/usr/local/pgsql/bin/vacuumdb > > > > > > Hmm, that's not the problem I see in the CI run from the commitfest a= pp: > > > > > > https://cirrus-ci.com/task/5608274336153600 > > > > I was referring to the other build that you shared off-list (probably > > independent from cfbot): > > > > https://cirrus-ci.com/build/4726227505774592 > > > > > [19:11:00.642] FAILED: [code=3D2] src/bin/scripts/vacuumdb.exe.p/vacu= umdb.c.obj > > > [19:11:00.642] "cl" "-Isrc\bin\scripts\vacuumdb.exe.p" "-Isrc\include= " "-I..\src\include" "-Ic:\openssl\1.1\include" "-I..\src\include\port\win3= 2" "-I..\src\include\port\win32_msvc" "-Isrc/interfaces/libpq" "-I..\src\in= terfaces\libpq" "/MDd" "/nologo" "/showIncludes" "/utf-8" "/W2" "/Od" "/Zi"= "/Zc:preprocessor" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D= _CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244"= "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "/Fdsrc\bin\scripts\vacu= umdb.exe.p\vacuumdb.c.pdb" /Fosrc/bin/scripts/vacuumdb.exe.p/vacuumdb.c.obj= "/c" ../src/bin/scripts/vacuumdb.c > > > [19:11:00.642] ../src/bin/scripts/vacuumdb.c(186): error C2059: synta= x error: '}' > > > [19:11:00.642] ../src/bin/scripts/vacuumdb.c(197): warning C4034: siz= eof returns 0 > > > > > > The real problem here seems to be the empty long_options_repack array. > > > I removed it and started a new run to see what happens. Running now: > > > https://cirrus-ci.com/build/4961902171783168 > > > > The symlink issue occurred at "Windows - Server 2019, MinGW64 - Meson",= where > > the code compiled well. The compilation failure mentioned above comes f= rom > > "Windows - Server 2019, VS 2019 - Meson & ninja". I think it's still po= ssible > > that the symlink issue will occur there once the compilation is fixed. >=20 > FWIW, I don't think it's particularly wise to rely on symlinks on windows= - > IIRC they will often not be enabled outside of development environments. ok, installing a copy of the same executable with a different name seems mo= re reliable. At least that's how the postmaster->postgres link used to be handled, if I read Makefile correctly. Thanks. --=20 Antonin Houska Web: https://www.cybertec-postgresql.com