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 1n2czb-0000YB-As for pgsql-general@arkaria.postgresql.org; Wed, 29 Dec 2021 17:44:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n2czZ-0000vs-0S for pgsql-general@arkaria.postgresql.org; Wed, 29 Dec 2021 17:44:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2czY-0000vh-8i for pgsql-general@lists.postgresql.org; Wed, 29 Dec 2021 17:44:00 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2czV-0002YA-84 for pgsql-general@postgresql.org; Wed, 29 Dec 2021 17:43:58 +0000 Received: by mail-qt1-x830.google.com with SMTP id a1so19524766qtx.11 for ; Wed, 29 Dec 2021 09:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.usf.edu; s=googleapps; h=message-id:date:mime-version:user-agent:content-language:to:from :subject:content-transfer-encoding; bh=TtM9DGiTc35NzkCFdNzLSFZ3xg9Z3/0bbjRaLnOslI4=; b=LhPn8kP7jkEyBDha0uKrOHEP22kbKvaxR2MRSXHw0cGmhcJeWiZFOhhkiC3bDOqTSh dcyWrO2ycndXWDDf/ETmpz0A3D6SmLQsJpAeVKsm4PRvBJKAEVWxmS1yca4h+7zD0koh ZEKU5CWboypSKb8SYNUPqnuO6r+5nsuNi/ggg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject:content-transfer-encoding; bh=TtM9DGiTc35NzkCFdNzLSFZ3xg9Z3/0bbjRaLnOslI4=; b=IQHNtWAYOdsXcYmVEBOXlNs3EjLEV042Lwxm52Q4eUUAqJ7OthQK3nFQirzkgqnUx6 du6tm8x47Cb/zZeReY87B2Iu5lREf32baTcExp7DOeQIY7FLaLFnY6YeXaDjloVfHVE0 2JDU9iMP6tf969gDXOUIcogY2dLBMTzndV7MbFMM4x9ZvMnGTV1IOrcqXfztubaZKCON eFjoVvBs8GW2/vNZtGFYfVrmS2i5RIpHXpXXtrlsB4oJDbQlPyQq+mexoVxc9TLVv2iO K3eOZYAqZo6vGGZt4Wl/OMJTqagD/zZDLpQCXPxuCZTIDw1qBG3WWBXftXC3T2WfVe+8 cezg== X-Gm-Message-State: AOAM533nq+9bzwMGxztgRtXjV7olEoca82rW6L4CuBe9h49hZI4OUlRS tRzUuC41qJYJ2P6Yx7T7gythRj1Tx4whAA== X-Google-Smtp-Source: ABdhPJy57L8iw7K6IO2+P3e5pHpxiOMf4uhGVC8TZBn+EDk4kcqtQBU/sQG6NW+4pYsYYtbtaZlQlg== X-Received: by 2002:ac8:5853:: with SMTP id h19mr23747440qth.166.1640799835468; Wed, 29 Dec 2021 09:43:55 -0800 (PST) Received: from [192.168.10.183] (065-190-019-001.inf.spectrum.com. [65.190.19.1]) by smtp.gmail.com with ESMTPSA id r185sm16677069qke.134.2021.12.29.09.43.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 09:43:55 -0800 (PST) Message-ID: Date: Wed, 29 Dec 2021 12:43:55 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Content-Language: en-US To: pgsql-general@postgresql.org From: john polo Subject: Find missing data in a column Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I have a database in PostgreSQL 12 on Windows. It has > 8,000,000 rows. I want to copy this database to PostgreSQL 10 on Slackware Linux. I used this command to get the data out of the Windows database: "C:\Program Files\PostgreSQL\12\bin\pg_dump.exe" --file="C:\Users\Nightrunner\DOCUMENTS\programming\pg_out\ebird_sptl_all.dump" --host="localhost" --port="5432" --username="postgres" --password --verbose --format=c --no-owner --no-privileges --dbname="ebird_work" --table="p_loc.ebd_sptl" On Slackware, I first: su postgres Then try: psql ebirds SET SEARCH_PATH TO p_loc; COPY p_loc.ebird_sptl FROM '/nt-d/projects_and_data/ebd_OR/ebird_sptl_all.dump'; That fails with missing data for column "COMMON_NAME" I understand this means there is a problem with one or more rows in the column referenced. This is a column of text. How do I find the error(s) in question? Cheers, John -- Enlightenment is ego's ultimate disappointment. -Chogyam Trungpa