On Thu, Sep 5, 2024, at 5:32 PM, Euler Taveira wrote:
> $ cat /tmp/pcc.pl
> #!/usr/bin/perl -n
> print "\033[1m\033[35m$1\033[36m$2\033[32m$3\033[33m$4\033[m" while /([|+-]+)|([0-9]+)|([a-zA-Z_]+)|([^\w])/g;
>
> and then you can start psql as:
>
> $ PAGER="/c/mypager.pl" psql
I meant:
$ PAGER="/tmp/pcc.pl" psql
--
Euler Taveira
EDB https://www.enterprisedb.com/