From: | Ennio-Sr <nasr(dot)laili(at)tin(dot)it> |
---|---|
To: | pgsql-novice(at)lists(dot)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: PG-15 - Format problems after jump migration from 9-4 to 15 |
Date: | 2025-01-18 15:58:49 |
Message-ID: | Z4vPuSO_trk8T3fm@deb-M90 |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
* David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> [170125, 18:25]:
> 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.
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)] /_____\
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2025-01-18 16:10:47 | Re: PG-15 - Format problems after jump migration from 9-4 to 15 |
Previous Message | David G. Johnston | 2025-01-18 01:27:30 | Re: PG-15 - Format problems after jump migration from 9-4 to 15 |