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 1tZBE0-002taI-Bo for pgsql-novice@arkaria.postgresql.org; Sat, 18 Jan 2025 15:59:05 +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 1tZBDy-0012oH-Kq for pgsql-novice@arkaria.postgresql.org; Sat, 18 Jan 2025 15:59:03 +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 1tZBDy-0012o8-9L for pgsql-novice@lists.postgresql.org; Sat, 18 Jan 2025 15:59:02 +0000 Received: from mta-out-02.tin.it ([217.169.118.5]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tZBDv-000DHq-2q for pgsql-novice@lists.postgresql.org; Sat, 18 Jan 2025 15:59:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tin.it; s=20211207; t=1737215940; bh=r1hb8lyWNjfJrsPQe75KzUE/2Fhe2hzmqKzFdkZEhsM=; h=Date:From:To:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; b=uRtPB9L+jLLEuqw/8GdXG20DY78cvCNByHdn9BGjacw29diNSdj5OY5HYvN5JMjh8UPa2gmhoq+uNA3EeiAetULz50093OF6uX4Nl++AxOR6gtrIf/KP2Rpa+Y+VfxaNJuNbO43WvOYZbyYIu1dTc+xiRQ+t64idladxbBOQWcDNJb4/GbFatrZ9BEOZiMEvyhYcq1ffEViluyLxp279EDDUTd1yqXWI2GiKRXmH6a+QhHrcrxrzox35Z25GofD5h92LC4s1XOjahBtvrDDz7x+NfgFEpuaents7OXLoBZl7QSYAQUKQNUoqAQ1+88nDpOWqQQMlOVxaApKsYpoUGg== X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeefuddrudeihedgkedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvffgnffgvefqoffkvfetnffktedpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpeffhffvuffkrhhfgggtugfgjgesthekredttddtjeenucfhrhhomhepgfhnnhhiohdqufhruceonhgrshhrrdhlrghilhhisehtihhnrdhitheqnecuggftrfgrthhtvghrnhepffegvddvhfdvvdefueeifeetjeejffehudehhedutdegjefghfegtedutdffhfdtnecukfhppeelhedrvdefiedrvdegkedrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepuggvsgdqofeltddrvghirdhhnhgvthdpihhnvghtpeelhedrvdefiedrvdegkedrgeejpdhmrghilhhfrhhomhepnhgrshhrrdhlrghilhhisehtihhnrdhithdpnhgspghrtghpthhtohepvddprhgtphhtthhopehpghhsqhhlqdhnohhvihgtvgeslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepphhgshhqlhdqnhhovhhitggvsehpohhsthhgrhgvshhqlhdrohhrghdprghuthhhpghushgvrhepnhgrshhrrdhlrghilhhisehtihhnrdhithdpghgvohfkrfepkffvpdfovfetjfhoshhtpehrrgiiohhrqdhouhhtqdhtihhnqddtvd X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from deb-M90.ei.hnet (95.236.248.47) by mta-out-02.tin.it (authenticated as nasr.laili@tin.it) id 66547B4209D87236; Sat, 18 Jan 2025 16:58:59 +0100 Received: by deb-M90.ei.hnet (Postfix, from userid 1000) id AF9111E0; Sat, 18 Jan 2025 16:58:49 +0100 (CET) Date: Sat, 18 Jan 2025 16:58:49 +0100 From: Ennio-Sr To: pgsql-novice@lists.postgresql.org, pgsql-novice@postgresql.org Subject: Re: PG-15 - Format problems after jump migration from 9-4 to 15 Message-ID: Reply-To: pgsql-novice@postgresql.org Mail-Followup-To: pgsql-novice@postgresql.org, pgsql-novice@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk * David G. Johnston [170125, 18:25]: > On Fri, Jan 17, 2025 at 6:11 PM Ennio-Sr wrote: > > > Could you please give me some hints to overcome the problem? > > > > §§--> And this is what appears on the screen when I enter 'mydb': > > > > usr@deby:~$ psql mydb > > Target width is 150. > > Output format is wrapped. > > psql (15.10 (Debian 15.10-0+deb12u1)) > > Type "help" for help. > > > > > You are executing the corresponding \pset commands for those two options in > your .psqlrc file. For scripts you generally don't want to do that. Either > modify your .psqlrc file, or pass -X to your psql command to ignore it. > > Otherwise, those should be output on stdout; you can use your shell's tools > to send it elsewhere so your output capture doesn't see it. > > Modifying "echo" output might also work. > > David J. First of all let me say 'Thank you very much indeed, David, for your help! It saved ne time, which is becoming more and more precious to me'. That said, I wonder reading what I could have gasped the answer: I was using (in PG-15) the same settings I had set - more than 10 years ago - in PG-9.4, and the troublesome script still works perfectly on my ald PC (both, PC and Beelink are running the same Debian version, as shown by <# uname -a>). Thanks again, and I wish you all a wonderful 2025! ennio -- [Perché usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?// Fà qualche cosa di cui non sei capace!" (diceva Henry Miller) (°|°) [Why use Win$ozz (I say) if ... "even a fool can do that. .)=(. Do something you aren't good at!" (as Henry Miller used to say)] /_____\