Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0Fxb-0005E1-J6 for pgsql-admin@arkaria.postgresql.org; Wed, 03 Jun 2015 21:12:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z0Fxa-00015f-SB for pgsql-admin@arkaria.postgresql.org; Wed, 03 Jun 2015 21:12:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z0FxZ-00015V-MQ for pgsql-admin@postgresql.org; Wed, 03 Jun 2015 21:12:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z0FxS-0005xl-L9 for pgsql-admin@postgresql.org; Wed, 03 Jun 2015 21:12:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t53LCD71028184; Wed, 3 Jun 2015 17:12:13 -0400 From: Tom Lane To: "David G. Johnston" cc: John Bell , "pgsql-admin@postgresql.org" Subject: Re: pset, NULL, and COPY-reporting In-reply-to: References: <006c01d09d6e$af1de600$0d59b200$@ornl.gov> Comments: In-reply-to "David G. Johnston" message dated "Wed, 03 Jun 2015 14:41:54 -0400" Date: Wed, 03 Jun 2015 17:12:13 -0400 Message-ID: <28183.1433365933@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org "David G. Johnston" writes: > On Tuesday, June 2, 2015, John Bell wrote: >> Due to some level of ignorance at install-time, our "psql" clients on two >> different production computers appear to have different values for /null/: > You can decide what to have null output as using pset variables. See the > documentation. The default could have changed between versions, maybe... No, I don't think so --- but possibly one machine has a setting in ~/.psqlrc that the other doesn't. >> At the same time, one of these computers reports the number of rows >> read-in with >> a "\copy TABLE FROM FILE" command as "COPY 123", while the other computer >> does not. > Pretty sure the copy behavior is always on but version dependent. Yeah, psql 9.4 started doing that. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin