Re: Review: query result history in psql

Поиск
Список
Период
Сортировка
От Maciej Gajewski
Тема Re: Review: query result history in psql
Дата
Msg-id CAEcSYXKzUgOTHFj1L0e=n95nY2Mo_ExgseYXFngrgJshwark0A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Review: query result history in psql  (Ian Link <ian@ilink.io>)
Ответы Re: Review: query result history in psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
The query history is stored within the client, so once the user stops
the client, it is gone. But yes, it would be useful to have some tool
that would allow you to see what's in there.

I could be a command (\showans ?) that would list all :ansXXX
variables, together with the query text and  the size of the answer.
It would probably look ugly for very long queries, but could be useful
anyway.

I'm not sure if I'll be able to implement this feature any time soon,
as I'm very busy at the moment and going for a business trip in few
days.

In the meantime, I've applied your suggestions and moved the
sting-manipulating functions to stringutils. Also fixed a tiny bug.
Patch attached.

M

Вложения

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

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: Re: checking variadic "any" argument in parser - should be array
Следующее
От: "MauMau"
Дата:
Сообщение: Re: pgsql_tmp and external sort