Re: Fix psql pager selection for wrapped expanded output

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, ewie(at)ewie(dot)name
Subject: Re: Fix psql pager selection for wrapped expanded output
Date: 2026-06-12 14:44:21
Message-ID: aiwalTtOKnTpSH8H@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Jun-12, Chao Li wrote:

> BTW, I also ran into another issue that confused me. After changing
> print.c, running make from the source root didn’t rebuild psql. I had
> to run "make clean" and rebuild everything. Is that known or
> intentional?

Do you use "configure --enable-depend"? If not, then I think you're
pretty much expected to do "make clean" or similar before every single
file change. I think this as a very developer unfriendly environment,
so I always use configure --enable-depend. (Well, except when on Meson
of course, which is what I normally use for most recent branches.)

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
Thou shalt check the array bounds of all strings (indeed, all arrays), for
surely where thou typest "foo" someone someday shall type
"supercalifragilisticexpialidocious" (5th Commandment for C programmers)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-06-12 14:46:10 Re: Use \if/\endif to remove non-libxml2 expected output in regression tests
Previous Message Kirk Wolak 2026-06-12 14:32:51 Re: [GSoC 2026] - B-tree Index Bloat Reduction - Approach & Questions