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 1n2ktO-0007JL-BS for pgsql-general@arkaria.postgresql.org; Thu, 30 Dec 2021 02:10:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n2ksq-0006ay-9L for pgsql-general@arkaria.postgresql.org; Thu, 30 Dec 2021 02:09:36 +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 1n2ksp-0006an-Hf for pgsql-general@lists.postgresql.org; Thu, 30 Dec 2021 02:09:35 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2ksi-0006HM-Af for pgsql-general@postgresql.org; Thu, 30 Dec 2021 02:09:33 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id q3so20799295qvc.7 for ; Wed, 29 Dec 2021 18:09:27 -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:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=TB0Srb7Qmg7eWZ6URaiZ7mzwhAao+hahmA0P1ikFxWU=; b=ImFDivt64FRKCV/wkKwtHfMuZSmkn+9ahlk1PtfFd+MPfVE/DFnmcg6wHA/t7M3OgO ycwNmofkLdFjCGAFr9wppMTNghuujyQT3R07HkClxfmCJsrzNvop3f9uKpnpjnp4/ky7 zLzR+8Ssys8rkZgPsdh3JIQjX/8XqpVFaW5gc= 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:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=TB0Srb7Qmg7eWZ6URaiZ7mzwhAao+hahmA0P1ikFxWU=; b=GqV0ZO53n/yYJWHqHv5D163paldptoj/S3XXrB1rKWfZIZdTjyWiwRJcsb6Y8zoMCy m2tyMBVQXswOry9UoEjscGPTuyWLqw70J9G3lKxC6BP+mPnGFiFoD6tnvELOb1xq8jzg +33OQyXoKUBPBquRCrc0IcNvrNFOqcceu6Fd7Nr9BYddmmGz/aR8gvcs3nXT5a+zyED7 hJW6RWY7YvwX73O+X0uf2R7aPZT72RnbtPqKiUXfPO2VmqO8wl/Yk/sdAz8mDAgus1S3 +kcPzJhJC12Usrik2sNHPIzJZTItWDpCSn1UkD9qddw9g8lcVlxTACC3i503PvULftF7 mTKw== X-Gm-Message-State: AOAM532G5QhIsGLuLUHXRwVkH/rVFkrbWtR7ceioh+xei64VlCdjNvLF N9QoCQqCThipvirW/bElhTAA9A== X-Google-Smtp-Source: ABdhPJyleei9BOgL4xPu+XOjKZf44rqBIuG8g9WHpwmcOcdkYz0i2gK+PzhZCZmBT9r5AIyyiw4wNg== X-Received: by 2002:ad4:594b:: with SMTP id eo11mr25091209qvb.21.1640830166702; Wed, 29 Dec 2021 18:09:26 -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 x25sm17952535qkf.91.2021.12.29.18.09.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 18:09:26 -0800 (PST) Message-ID: Date: Wed, 29 Dec 2021 21:09:24 -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 Subject: Re: Find missing data in a column Content-Language: en-US To: Adrian Klaver Cc: "pgsql-general@postgresql.org" References: <8849982a-c708-57f1-5e2e-66e91e0e47b4@aklaver.com> <90e040af-9f49-5e3e-49e4-2548ad858ba1@aklaver.com> From: john polo In-Reply-To: <90e040af-9f49-5e3e-49e4-2548ad858ba1@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/29/2021 1:16 PM, Adrian Klaver wrote: > On 12/29/21 10:10, Rob Sargent wrote: >> >> > >>> If you want to use psql then: >>> >>> pg_dump.exe" >>> --file="C:\Users\Nightrunner\DOCUMENTS\programming\pg_out\ebird_sptl_all.txt" >>> --host="localhost" --port="5432" --username="postgres" --password >>> --no-owner --no-privileges --dbname="ebird_work" >>> --table="p_loc.ebd_sptl" --data-only >>> >>> psql ebirds >>> >>> >>> \i C:\Users\Nightrunner\DOCUMENTS\programming\pg_out\ebird_sptl_all.txt >>> >> >> Doesn’t that presume OP can connect to linux db from Windows machine? >>   Seems the best plan would be copy to; file-tranfer; copy from > > Yeah that should been the file location from the OP's COPY command: > > '/nt-d/projects_and_data/ebd_OR/ebird_sptl_all.txt' > Thanks, everyone, for the replies. Thanks, Adrian, for the helpful commands you provided. They worked up to a point that gave me a different error as the data were loading. I will spend some time trying to work that new error out. Cheers, John