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 1njSr8-0004uJ-7B for pgsql-general@arkaria.postgresql.org; Tue, 26 Apr 2022 21:36:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1njSr7-0008It-16 for pgsql-general@arkaria.postgresql.org; Tue, 26 Apr 2022 21:36:21 +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 1njSr5-0008Ik-El for pgsql-general@lists.postgresql.org; Tue, 26 Apr 2022 21:36:20 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njSr1-0007dD-HJ for pgsql-general@lists.postgresql.org; Tue, 26 Apr 2022 21:36:19 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2AB695C00C8; Tue, 26 Apr 2022 17:36:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 26 Apr 2022 17:36:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1651008972; x= 1651095372; bh=y1HRfKajjT42EyZnMop5SgUpizRj5M5CsXI2SI671WI=; b=k 2m2u81KWzLq6peVEgDBHK/ezW7wZ2b7x90U3xEFSOq5PMLQYaunAl6cT6oXEZIaN rB86DiJC3aTifByzFAZn8tIq99PEPIe1pV/AwsCKGc+EBtYfXEqX4cdJPbIjzgML C1k4dw//jTUcxHAKxjOY8GRlkb5FmZYdts5LvWVugcaVW6DhyPdsMat8hWA6sHuv 0+tWq94Iv7SPrUyf6H2JBQDBecr7R9cadS89GbWF76cn6+cscYOeD7OjXC1P1PFN S2XJ+B/Uwjy/WpRFQ1WXSXESOhpew5T+iS1jgaXJDL4pjJ1//bs+CZpSnciDbF+G UYINp7U3p8/3NiBau/ZNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1651008972; x=1651095372; bh=y1HRfKajjT42EyZnMop5SgUpizRj 5M5CsXI2SI671WI=; b=dF6kjBQ/GUkD5uaWNJss9Wjky0+vrXGAqhand3zBdwpr hgIiWZ+L9DlawycMRoz+iRIxezEBsYg8v9IX9IwkpBLdEm3WPDVsKMgnqmz5PC3X 5FJ9Sk/DNjhxpZ1ZUTZNb272vytTlHy5Y4Uofrs2TYq+3sorh39WQCWzxue8fPu3 9G7Ae0PliCIpCBR7FVbn015kfqwk/K55tj7qr1tsqUucuPPsuceAXugPZUu8eEx1 YDYagkqgvRs1zqg/n37mwWLTYI2EYZRdoPaboaa1Ey0xjmn2XSjJzws1xHhfOrOm N1ZAm/9hNyr9/dwancnbh4Gk3TOjm6fRpYIZ5ahBaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhirghnucfm lhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenuc ggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfghfeujeej hfekjeelgedtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Apr 2022 17:36:11 -0400 (EDT) Subject: Re: Fresh eyeballs needed: input into error To: Rich Shepard , pgsql-general@lists.postgresql.org References: <457ef4b-792a-9ef-5172-972617d10f7@appl-ecosys.com> From: Adrian Klaver Message-ID: <195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com> Date: Tue, 26 Apr 2022 14:36:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <457ef4b-792a-9ef-5172-972617d10f7@appl-ecosys.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/26/22 2:31 PM, Rich Shepard wrote: > I'm getting a syntax error with an input into statement and I cannot see > the > cause. > > A MWE and the result (N.B.: line one wrapped for readability; it ends with > 'values'): > insert into people (person_nbr,lname,fname,job_title,company_nbr,loc_nbr, > loc_phone_ext,direct_phone,direct_fax,cell_phone,email,active,comment) > values (6000,'No','Name',null,404,1,null,null,null,null,null,null,null); > > 2: ERROR:  syntax error at end of input > LINE 2: ( >          ^ > What do I keep missing? I'm guessing some sort of hidden character. What client are you using to run this? Where is the query string coming from? > > TIA, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com