Re: PG-15 - Format problems after jump migration from 9-4 to 15

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: PG-15 - Format problems after jump migration from 9-4 to 15
Date: 2025-01-18 01:25:50
Message-ID: CAKFQuwY0MNcT3q8=S=bOvdQMnMUeGdHNYP8hMT7r7Cm=gb=bEg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Jan 17, 2025 at 6:11 PM Ennio-Sr <nasr(dot)laili(at)tin(dot)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(at)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.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David G. Johnston 2025-01-18 01:27:30 Re: PG-15 - Format problems after jump migration from 9-4 to 15
Previous Message Ennio-Sr 2025-01-18 01:11:15 PG-15 - Format problems after jump migration from 9-4 to 15