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 1kZIk0-0004CW-Ep for pgsql-general@arkaria.postgresql.org; Sun, 01 Nov 2020 19:10:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZIjz-00022x-A9 for pgsql-general@arkaria.postgresql.org; Sun, 01 Nov 2020 19:10:11 +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 1kZIjz-00022e-32 for pgsql-general@lists.postgresql.org; Sun, 01 Nov 2020 19:10:11 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZIju-0002tM-8y for pgsql-general@lists.postgresql.org; Sun, 01 Nov 2020 19:10:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id D02B2DD5; Sun, 1 Nov 2020 14:10:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 01 Nov 2020 14:10:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=e Rd8kpbasWHB6qFf1T92s3rPW5jlfm4ngCn0CQsOimI=; b=DlGoo3YHbN/2FKCL/ MncHjlrjujhQLJXom3Y45eSDIiAXnIiq6TbVMOwbuRaOXPGYrmKYGVSaOpTFL/YC 7cOjG7ti3SeQdPBkU/hnZYfPcUnCchlcl1fLbK3q6UfsJErN94UfcwB6k88nWUGU ZznASpNI4uc2YiTNUQpdG5TJ3ARBeETBkrBYaNvgcrn/hOy37VQCPhSIqA0kJxxz jARPAvhPN6yj80ERgfFrWJ0t3IK6cmP8OR3bZ4PMNPMTD5tJJxAUzcwOrcVaSfcT rIOwDiPXUMWR2/4rz2ykFqLflli0WyYIg8VY2q2h/YQqn3+DBttSfya/6Z+6+y3u jhfpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=eRd8kpbasWHB6qFf1T92s3rPW5jlfm4ngCn0CQsOi mI=; b=eW9RRq4z49HUxz/HPPTUeftrZUzbdTWGug/Z4tkJplb6EbUYp2XeAfoD0 34IoYOLu6RLg65LwCyGPoe2+Nv++xuxd/dUh7ECqFdFu/L1+uOQ2cq7kaGO4U3nu 5ow/DOv54K9U7IW5C7vo0lC5DIKcMHtJMssFJFHX4ed5BAn5VDYPEhp1uKIpsQ3T T+gMYD/MyYsKvXDpfvESzMYiUfj6Y04Ug0eD2kKnJ4B3OPl/omQURZLAB7U4bfh2 ITolh3hCiswRkxsBpCbagwNJgHiVAGcYCGJHw8siBIwayMIdSFii9Bnpqy602Tz+ 99LHrq+vN8TTNu9ZTOkMft2gY6gTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleelgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucfkphepjeehrddujedvrdduledrudefleenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F552306467D; Sun, 1 Nov 2020 14:10:01 -0500 (EST) Subject: Re: Another user error? To: Rich Shepard , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Sun, 1 Nov 2020 11:10:00 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/1/20 11:04 AM, Rich Shepard wrote: > On Sun, 1 Nov 2020, Francisco Olarte wrote: > >> This is nearly impossible to diagnose without a chunk of the query ( >> i,e, the first lines and the last ones ). > > Francisco, > > $ psql -d bustrac -f locations.sql > >> It smells to missing parentheses. If you use some editor witch matches >> them, try adding one BEFORE the semicolon. If it matches something >> above you've got it. > > Here're the last two lines: > (2297,1,'Principal place of business','600 SE Bay > Boulevard',null,'Newport','OR','97365','541-265-7758','541-265-4235',null), > (2298,1,'Principal place of business','7200 NE Airport > Way',null,'Portland','OR','97218',null,null,null); Also need the beginning lines including the INSERT part. > > And psql found a few missing terminating parentheses and commas which were > fixed. I expected this last run to successfully complete. > > Regards, > > Rich > > > -- Adrian Klaver adrian.klaver@aklaver.com