Re: Adding NOTICE for differences between estimated and actual rows

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: Adding NOTICE for differences between estimated and actual rows
Дата
Msg-id 50188714-4d24-4530-9dc7-2d115d9b8cb8@app.fastmail.com
обсуждение исходный текст
Ответ на Re: Adding NOTICE for differences between estimated and actual rows  ("Euler Taveira" <euler@eulerto.com>)
Список pgsql-hackers
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

В списке pgsql-hackers по дате отправления: