Re: Query history

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Query history
Дата
Msg-id 1343286895.1959.19.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Query history  (Kozusznik Michal <kozusznik.michal@ifortuna.cz>)
Ответы Re: Query history  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-support
On Wed, 2012-07-25 at 22:57 +0000, Kozusznik Michal wrote:
> > By query history, you mean the 4th tab in the query tool? or the
> > combobox?
> 
> I meant the combobox.
> 

If you meant the combobox, it's a complete different story.

The combobox doesn't get the whole query. It gets truncated at 1024
characters per defaut.

> > Well, this would be a lot of work, something not reasonable to do. The
> > probably hardest part of it would be to find individual queries; Good
> > luck with that.
> > 
> > Right now, we send to the server everything or only the selected part.
> > And we know if everything went fine, or if there was an error.
> 
> great, so you know what to store into history. just commands sent to a server. nothing more. currently you store
wholescript even if single line of it has been sent.
 

Crap, seems you're right. Working on it.

> worse is, you store the same whole script multiple times flooding history (combo box). Inend up with all history
entriesfilled by the same script.
 
> 

Should not happen, this has been fixed. I'll check once the first issue
has been fixed.

> just try example I gave you in the first post.
> 

Knowing what you're talking about helps a lot to reproduce issues :)


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



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

Предыдущее
От: Kozusznik Michal
Дата:
Сообщение: Re: Query history
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Query history