Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSOvj-0002iZ-Ak for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 16:12:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSOvh-000108-DO for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 16:12:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSOvh-0000zX-5N for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 16:12:41 +0000 Received: from evolu-s.it ([94.23.66.144] helo=smtp.evolu-s.it) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1gSOvf-0000iZ-4s for pgsql-general@postgresql.org; Thu, 29 Nov 2018 16:12:40 +0000 Received: from [192.168.1.163] ([79.6.30.247]) by smtp.evolu-s.it ; Thu, 29 Nov 2018 17:12:35 +0100 To: PostgreSQL mailing lists From: Moreno Andreo Subject: Debian : No echo after pg_dump | psql Message-ID: <690144ed-bfb2-e06e-2aba-4d8e9e99edaf@evolu-s.it> Date: Thu, 29 Nov 2018 17:12:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit Content-Language: it List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi guys,     I'm facing a strange thing on my test server (Google Cloud) On my Debian 9 box I'm running Postgres 9.6.10, and I'm transferring some databases from another server (Debian 8, PG 9.5.15). The command I'm using is root@xxxxx:~# pg_dump -v -C -h -p 6543 -U postgres | psql -h localhost -p 6543 -U postgres It presents a double password prompt after I run it: Password: Password for user postgres: I enter _once_ my postgres password, and it starts processing data. At a certain point it suddenly stops processing without prompting anything, and goes on only if I insert my postgres password again, as if it was for one of the two prompts it showed at the beginning where I entered only one password. After another bit of processing, it asks another time (the third!) my postgres password. After I entered it, it goes to the end (and there are no issues in data or anything simia. After this, I have no more echo on what I'm typing, but if I type something and press enter, I can see the result of the command I just typed (and have not seen) on the console. Restarting the SSH session resolves the problem. The same strange behavior is the same if I switch servers (running pg_dump on Debian 8/PG 9.5 connecting on Debian 9/PG 9.6) Another thing I was forgetting to report: If I create database (just database, not schema) on target machine, I receive the error "database xxxx already exists" but the dump goes on If I don't create it, I receive the error "database xxxx does not exist" and processing aborts. Hope I've been clear enough...... Has someone bumped into it? Thanks in advance Moreno.-