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 1tYxbb-00Gtbx-MS for pgsql-novice@arkaria.postgresql.org; Sat, 18 Jan 2025 01:26:32 +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 1tYxba-00AXBC-8O for pgsql-novice@arkaria.postgresql.org; Sat, 18 Jan 2025 01:26:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYxbZ-00AXB4-U4 for pgsql-novice@lists.postgresql.org; Sat, 18 Jan 2025 01:26:30 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tYxbY-0007GI-0k for pgsql-novice@postgresql.org; Sat, 18 Jan 2025 01:26:29 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5f2d7868ef0so670648eaf.3 for ; Fri, 17 Jan 2025 17:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737163587; x=1737768387; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=U0wzWptY1JbY8iHIeHNii2yDsnfz52Fwj2fsfVMa5QM=; b=Rl9K9zvn2MiKp17lP7mk+Pe9JVopjPwelUDQeLw9sa3JiBlxmblHLq0/dL/PUsERxZ 88wDzup6OHeTbplWdVdYv2K93G+LgWc0VJeB5k9sWouMyficjCgBlDScnEGbls3I3Gcl 2gHHDpA1vbIU7/wksxh43YHIJ1mCng10UecwEXQRvOpBfoW0QuWsT/5FxUhTxVfjXqpW YpeubRlqJlXnnFNL9jAutVbhJOj1qNkYS6h2uxSA8Dc7hJISdxd8cuzaBnqCVo6UKRKa IFFB1EzgVT4OPO3m1eK1JiHwqQAXKixFviT6J28Lysh9sDETnKh4jv7eiZFh1qI+NdxI pH0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737163587; x=1737768387; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U0wzWptY1JbY8iHIeHNii2yDsnfz52Fwj2fsfVMa5QM=; b=UXKHx6N2RsdZzHVMcweZQR0yxqX80k63/RkXmevVE6i3/VLDMENNIpDs/r0zSmd1eN P5HuY5MxTyh8PW8tbaCqK4OyXKqjDgC0pF+ybUL4GyQxnYWluHXUBC+cnGgYF2KpB2pl nQJ1EH9QAKOH72m6ZpvyWNPdUOWQ02NmIJjKZmkOhLdMHJ9r+A2HRYjp3KKF4P6uSyGt 8uD6f8JQQsN55OEhasuAqP+nT86VR5ok75trRcYcznmBSC+O/qOlC5cf0NdnCeTbnII/ LrFrYxx50O36hHgF+K7g6FYbUTf2274TZXtJhy8SRKD4R5gNCP7h9DdQBgwr2ANUpKD1 XaXg== X-Gm-Message-State: AOJu0YxxODYuMLUrXBR8p8L8XUFLp9eTVeUujBW6iQMUDeRJL5BZF6xn vTsYN/T4xGrquzN5xp5HnHQxwYtihNRMKZrf9MrG/5vpl76lJhcQPNSTZ+08NHBIALPDbjWpy1B fq3Kr9FuVbcfv0T7cVIpQ9ExMWP2ItdRwKBQ= X-Gm-Gg: ASbGncsUgef/vi+R+zuLLtJAsAMWx4FVpNGrb55qPnVnk3U18gLgkSGZfUw31UTWOg5 yc7L3KAKbvErOqM8SLvXZp7/V0B3Gswh7gdZd11Md9C66Peu6lcAPSfpHeAgKsQ== X-Google-Smtp-Source: AGHT+IHsyrWSIrSLEa3D8LDoa6zfC9b9c5/UnbVk2h/Tm6qA5uZnigILFf8K2ShonQVbZJjSIrGRbPBfclrqLMunXGo= X-Received: by 2002:a05:6820:1886:b0:5f6:c2a3:a146 with SMTP id 006d021491bc7-5fa38841662mr3402038eaf.1.1737163587455; Fri, 17 Jan 2025 17:26:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "David G. Johnston" Date: Fri, 17 Jan 2025 18:25:50 -0700 X-Gm-Features: AbW1kvbDA_KKDVw3t00G0TQzaQdstv62XiHmJBwRd0ki3bXSqFanmg5YyFWKITM Message-ID: Subject: Re: PG-15 - Format problems after jump migration from 9-4 to 15 To: pgsql-novice@postgresql.org Content-Type: multipart/alternative; boundary="0000000000008c129c062bf0eaa4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008c129c062bf0eaa4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 17, 2025 at 6:11=E2=80=AFPM Ennio-Sr wrote: > Could you please give me some hints to overcome the problem? > > =C2=A7=C2=A7--> 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. --0000000000008c129c062bf0eaa4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jan 17, 2025 at 6:11=E2=80=AFPM Ennio-Sr <nasr.laili@tin.it> wrote:
Could you please give me some hints to ove= rcome the problem?

=C2=A7=C2=A7--> 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 .p= sqlrc file.=C2=A0 For scripts you generally don't want to do that. Eith= er modify your .psqlrc file, or pass -X to your psql command=C2=A0to ignore it.

<= /div>
Otherwise, those s= hould be output on stdout; you can use your shell's tools to send it el= sewhere so your output capture doesn't see it.

Mod= ifying "echo" output might also work.

David = J.

--0000000000008c129c062bf0eaa4--