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 1rDgls-002pju-N6 for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Dec 2023 08:08:41 +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 1rDglr-005CNL-4l for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Dec 2023 08:08:39 +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 1rDglq-005CNB-Qt for pgsql-bugs@lists.postgresql.org; Thu, 14 Dec 2023 08:08:38 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rDglo-00BvRY-6E for pgsql-bugs@lists.postgresql.org; Thu, 14 Dec 2023 08:08:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Reply-To:Message-ID:Subject:Cc:To:Sender:From:Date:Content-ID: Content-Description; bh=N4bqGBO0DknIc1iMYcEouQUwy1ce6PhbkGxSdYi/ObY=; b=EWYx5 4k1cxuGppkR3wsiKyDS+YPiWqkEbyoz5433NCZQJkS4Wwi/DSZBZRkS/PMshagyXZF0OrZkHEHCeI mLisXrAPGEjUC76Z603GQTcdO3gepXgU0CPGaA814GUBXG7bJsg/gCFZFN8qKr5v1Y1a3DYJaDmCq /wyOgWAZ7Caw=; Received: from depesz by depesz.com with local (Exim 4.96) (envelope-from ) id 1rDglm-008kw6-23; Thu, 14 Dec 2023 09:08:34 +0100 Date: Thu, 14 Dec 2023 09:08:34 +0100 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: =?utf-8?B?6auY5Y2H?= <13325718563@189.cn> Cc: pgsql-bugs@lists.postgresql.org Subject: Re: about psql copy ,we would like to seek help,Thanks. Message-ID: Reply-To: depesz@depesz.com References: <000301da2e29$8d2a7e00$a77f7a00$@cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000301da2e29$8d2a7e00$a77f7a00$@cn> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Dec 14, 2023 at 09:04:55AM +0800, 高升 wrote: > We have looked at some tutorials, and it seems that we can use the > "CONTINUE" option. By using the CONTINUE option, the COPY command should > ignore error rows and continue with the copying operation until all rows are > copied. The relevant error information for the error rows will be recorded. I searched the web using google and duckduckgo, and the phrase "By using the CONTINUE option, the COPY command should" doesn't exist anywhere. Which suggests that it wasn't "some tutorial" but rather hallucination by chatgpt or some other "ai" that provides untruths. In future, I would suggest to verify the things that these things spew, as even 5 second glance at copy documentation https://www.postgresql.org/docs/current/sql-copy.html shows that there is no such option. depesz