Re: PG-15 - Format problems after jump migration from 9-4 to 15 - Mailing list pgsql-novice

From David G. Johnston
Subject Re: PG-15 - Format problems after jump migration from 9-4 to 15
Date
Msg-id CAKFQuwY0MNcT3q8=S=bOvdQMnMUeGdHNYP8hMT7r7Cm=gb=bEg@mail.gmail.com
Whole thread Raw
In response to PG-15 - Format problems after jump migration from 9-4 to 15  (Ennio-Sr <nasr.laili@tin.it>)
Responses Re: PG-15 - Format problems after jump migration from 9-4 to 15
Re: PG-15 - Format problems after jump migration from 9-4 to 15
List pgsql-novice
On Fri, Jan 17, 2025 at 6:11 PM Ennio-Sr <nasr.laili@tin.it> 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.

pgsql-novice by date:

Previous
From: Ennio-Sr
Date:
Subject: PG-15 - Format problems after jump migration from 9-4 to 15
Next
From: "David G. Johnston"
Date:
Subject: Re: PG-15 - Format problems after jump migration from 9-4 to 15