Thread: Clearing the screen in the pgAdmin PSQL screen
The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).
Does the PSQL Tool have something similar?
Thanks, Marc
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
+352 621 430 156
/! clear
---Original---
From: "Marc Linster"<marc@marclinster.com>
Date: Mon, Apr 21, 2025 14:11 PM
To: "pgadmin-support"<pgadmin-support@postgresql.org>;
Subject: Clearing the screen in the pgAdmin PSQL screen
The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).
Does the PSQL Tool have something similar?
Thanks, Marc
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
+352 621 430 156
On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:
The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?
CTRL + L
Thanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156
Andy, Kushbook - both don't work on MacOS Sequoia (15.4.1). See below
VERSION = 'PostgreSQL 17.0 on aarch64-apple-darwin22.3.0, compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1), 64-bit'
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
+352 621 430 156
On Mon, Apr 21, 2025 at 8:18 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?CTRL + LThanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156
On Mon, Apr 21, 2025 at 12:07 PM Marc Linster <marc@marclinster.com> wrote:
Andy, Kushbook - both don't work on MacOS Sequoia (15.4.1). See belowVERSION = 'PostgreSQL 17.0 on aarch64-apple-darwin22.3.0, compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1), 64-bit'
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
\! clear
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156On Mon, Apr 21, 2025 at 8:18 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?CTRL + LThanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156
clear for linux, plz find the macos clean screen command to replace it
---Original---
From: "Marc Linster"<marc@marclinster.com>
Date: Mon, Apr 21, 2025 14:37 PM
To: "Khushboo Vashi"<khushboo.vashi@enterprisedb.com>;
Cc: "pgadmin-support"<pgadmin-support@postgresql.org>;
Subject: Re: Clearing the screen in the pgAdmin PSQL screen
Andy, Kushbook - both don't work on MacOS Sequoia (15.4.1). See below
VERSION = 'PostgreSQL 17.0 on aarch64-apple-darwin22.3.0, compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1), 64-bit'
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
+352 621 430 156
On Mon, Apr 21, 2025 at 8:18 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?CTRL + LThanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156
notes: add space before clear
---Original---
From: "Khushboo Vashi"<khushboo.vashi@enterprisedb.com>
Date: Mon, Apr 21, 2025 14:50 PM
To: "Marc Linster"<marc@marclinster.com>;
Cc: "pgadmin-support"<pgadmin-support@postgresql.org>;
Subject: Re: Clearing the screen in the pgAdmin PSQL screen
On Mon, Apr 21, 2025 at 12:07 PM Marc Linster <marc@marclinster.com> wrote:
Andy, Kushbook - both don't work on MacOS Sequoia (15.4.1). See belowVERSION = 'PostgreSQL 17.0 on aarch64-apple-darwin22.3.0, compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1), 64-bit'
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;
\! clear
ERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156On Mon, Apr 21, 2025 at 8:18 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?CTRL + LThanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156
\! clear (with space before clear works like a charm).
Thank you, Marc
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
+352 621 430 156
On Mon, Apr 21, 2025 at 9:04 AM Andy Huang <258790519@qq.com> wrote:
notes: add space before clear---Original---From: "Khushboo Vashi"<khushboo.vashi@enterprisedb.com>Date: Mon, Apr 21, 2025 14:50 PMTo: "Marc Linster"<marc@marclinster.com>;Cc: "pgadmin-support"<pgadmin-support@postgresql.org>;Subject: Re: Clearing the screen in the pgAdmin PSQL screenOn Mon, Apr 21, 2025 at 12:07 PM Marc Linster <marc@marclinster.com> wrote:Andy, Kushbook - both don't work on MacOS Sequoia (15.4.1). See belowVERSION = 'PostgreSQL 17.0 on aarch64-apple-darwin22.3.0, compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1), 64-bit'
VERSION_NAME = '17.0'
VERSION_NUM = '170000'
postgres=# /!clear
postgres-# ;
ERROR: syntax error at or near "/!"
LINE 1: /!clear
^
postgres=# /!clear;\! clearERROR: syntax error at or near "/!"
LINE 1: /!clear;
^
postgres=# l
postgres-# ;
ERROR: syntax error at or near "l"
LINE 1: l
^
postgres=#---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156On Mon, Apr 21, 2025 at 8:18 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:On Mon, Apr 21, 2025 at 11:41 AM Marc Linster <marc@marclinster.com> wrote:The Query Tool has a feature to clear the screen (Option/Alt + Ctrl + L).Does the PSQL Tool have something similar?CTRL + LThanks, Marc---------------------------------------Marc Linster; Marc@MarcLinster.com;+352 621 430 156