Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez4sx-0002KL-Tc for pgsql-committers@arkaria.postgresql.org; Thu, 22 Mar 2018 18:24:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ez4sw-0001Tc-9v for pgsql-committers@arkaria.postgresql.org; Thu, 22 Mar 2018 18:24:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez4sv-0001TT-O1 for pgsql-committers@lists.postgresql.org; Thu, 22 Mar 2018 18:24:22 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez4sn-0006cg-Aq for pgsql-committers@lists.postgresql.org; Thu, 22 Mar 2018 18:24:21 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C27F021BD4; Thu, 22 Mar 2018 14:24:11 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 22 Mar 2018 14:24:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Qal4QfLU8G+4BBnOx3aOu95OfYA3TA9hD/Lw7JMiPa0=; b=XXyaPEy9 UUy4Vh/qe+xIorRgM/ZUWltPfqcAremVqRmJdg902iNkXphvOoN313T4wsxcZvt8 oHjzmmPOKdgXyjhkUI82ILCpvGSdWcGIy8yv3fs5Rvg5V9xu1O11kIGoG8kVMeLt js0+/gfloP9mprZvDzkt8hNcUExGT80+QdQRgQW53XXdWOx1Tx+TIGPFWqKJElxN maRBmZYGLdNmkSxRBD0d2TWJTFQ9oXQWU3S9bmXtrYOfskjPfB9zfLiaGqh0AbY4 sCFUhui1ItmX1yVf6ZpOAoFseDg2aKBNJhYIWvRiCsA+aXSbIl1re2erH/Q66chr NRD6Ms1ugXCa4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Qal4QfLU8G+4BBnOx3aOu95OfYA3T A9hD/Lw7JMiPa0=; b=gIC5Z1yHMFlRIY7Vqr11lHixxE4omVdW/v3jcXECW3/h9 p004nb8i+WYdSKzqJaTMPiBP/M/R/tdPRFJXUFbAgRafQkVJ5ftxdGPoc+j0lsJT xZDCwpnOvLBXOpk6WaTrs3Ea9+2DRYNGr31ajq3YRLRqs2k1CH0Bn4ts6YFqUpcQ O5mqklAhP90sKAuJWtw/N+KAATExDMJR+HoIzFNvOZaBUApz51s41iGGTJOuJMlQ eYX42FxhI+guOjZUyYIe18xy4hVxtgXNZX6Sz5yjkzRWvy9Ynr6jJSoYd8y7jCbK 2QTyn8QdY1nEPYqCRTaRxLMIbg/fXastD+L2jP3Mw== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C49B7E183; Thu, 22 Mar 2018 14:24:11 -0400 (EDT) Date: Thu, 22 Mar 2018 11:24:10 -0700 From: Andres Freund To: Teodor Sigaev Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add \if support to pgbench Message-ID: <20180322182410.wzsosdyyjehrdqg6@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-03-22 14:42:26 +0000, Teodor Sigaev wrote: > Add \if support to pgbench > > Patch adds \if to pgbench as it done for psql. Implementation shares condition > stack code with psql, so, this code is moved to fe_utils directory. > > Author: Fabien COELHO with minor editorization by me > Review by: Vik Fearing, Fedor Sigaev > Discussion: https://www.postgresql.org/message-id/flat/alpine.DEB.2.20.1711252200190.28523@lancre This broke MSVC in some way, apparently: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=whelk&dt=2018-03-22%2016%3A41%3A07 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2018-03-22%2016%3A30%3A25 Suspect it didn't update the msvc project build infrastructure. "C:\buildfarm\buildenv\HEAD\pgsql.build\pgsql.sln" (Standardziel) (1) -> "C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj" (Standardziel) (100) -> (Link Ziel) -> pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_create referenced in function _CheckConditional [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_destroy referenced in function _CheckConditional [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_push referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_pop referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_peek referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_poke referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_stack_empty referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] pgbench.obj : error LNK2019: unresolved external symbol _conditional_active referenced in function _doCustom [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] .\Release\pgbench\pgbench.exe : fatal error LNK1120: 8 unresolved externals [C:\buildfarm\buildenv\HEAD\pgsql.build\pgbench.vcxproj] "C:\buildfarm\buildenv\HEAD\pgsql.build\pgsql.sln" (Standardziel) (1) -> "C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj" (Standardziel) (109) -> command.obj : error LNK2019: unresolved external symbol _conditional_stack_push referenced in function _HandleSlashCmds [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_pop referenced in function _HandleSlashCmds [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] mainloop.obj : error LNK2001: unresolved external symbol _conditional_stack_pop [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_peek referenced in function _exec_command_elif [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_poke referenced in function _exec_command_elif [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] psqlscanslash.obj : error LNK2001: unresolved external symbol _conditional_active [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2001: unresolved external symbol _conditional_active [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] common.obj : error LNK2001: unresolved external symbol _conditional_active [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] mainloop.obj : error LNK2001: unresolved external symbol _conditional_active [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] prompt.obj : error LNK2001: unresolved external symbol _conditional_active [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_set_query_len referenced in function _exec_command_if [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_get_query_len referenced in function _discard_query_text [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_set_paren_depth referenced in function _exec_command_if [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] command.obj : error LNK2019: unresolved external symbol _conditional_stack_get_paren_depth referenced in function _discard_query_text [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] mainloop.obj : error LNK2019: unresolved external symbol _conditional_stack_create referenced in function _MainLoop [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] startup.obj : error LNK2001: unresolved external symbol _conditional_stack_create [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] mainloop.obj : error LNK2019: unresolved external symbol _conditional_stack_destroy referenced in function _MainLoop [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] startup.obj : error LNK2001: unresolved external symbol _conditional_stack_destroy [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] mainloop.obj : error LNK2019: unresolved external symbol _conditional_stack_empty referenced in function _MainLoop [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] .\Release\psql\psql.exe : fatal error LNK1120: 12 unresolved externals [C:\buildfarm\buildenv\HEAD\pgsql.build\psql.vcxproj] 59 Warnung(en) 29 Fehler Verstrichene Zeit 00:07:44.30