Remove Query History window from PGadmin - pgadmin-4

I am not sure how I activated this option in pgAdmin, but I got no idea on how to remove it.
Every time I open pgAdmin it goes through every single query which means I have to wait a couple of minutes before I can start querying again.
Does anybody know how to remove it?
Many thanks!

Ok I fixed it,
File -> Reset Layout.

Related

pgAdmin 4 - very poor performance of Query-Tool autocomplete, is it normal?

Some time ago I've moved from mySql's phpMyAdmin to postgres's pgAdmin 4.
What I've noticed is that pgAdmin's query tool has very slow autocompletion. Usually it's just faster to type keyword/identifier on your own than waiting till autocompletion will appear.
When I click ctrl+space it takes around 0.5-1 second to appear, horrible.
In compairsion when I use autocompletion in phpMyAdmin, it appears almost immadiately.
My question is, does it work so slowly for you too? Is there any way to fast it up? Or I have to use some third party program to get faster autocompletion?
Cheers.
[EDIT]
I've also tried the online trial of pgAdmin and here autocompletion is a little bit faster but still not even close to phpMyAdmin's one.
Just to add to this, the autocompletion has made pgadmin unusable for me. If I briefly pause to think about a query while I'm navigating, suddenly a list will appear over the SQL I'm looking at, and the arrow key context will be hijacked to navigate that list instead, which is, as you can imagine, jarring.

Issues trying to get keyboard command to work in SSMS

I read [here] that you can put select top 1000 * from in tools > options > keyboard > query shortcuts and it should be able to pull the top 1000 of a dbo you've highlighted. This doesn't seem to work for me. When hitting the bound hotkey, in my case ctrl+3, while highlighting a dbo in my query, nothing happens.
I'm using SSMS 17.9.1 via royal TSX (RDC connection).
Any thoughts that could be preventing this from working for me?
EDIT: I went to Keyboardchecker.com to make sure that ctrl+3 was registering correctly, so it's not an RDC issue, best I can tell.
I figured it out. I just needed to save the query, close it, and open it back up. Must have been an SSMS error? Not too sure, but it works now!

Copy/Paste, Delete option not working in SQL Management Studio

I was trying to copy and paste some queries and noticed that the paste option is not working. After that I realized that my copy, paste, delete and next line option is not working at all. What will be the reason for this issue.
When you press the Ctrl key, the text editor is looking for a mouse click to "Go to Definition".
Tools>Options>Text Editor>General> Uncheck "Enable mouse click to perform Go To Definition"
(or you can change the modifier key to something you use less often if you want to continue using this feature)
What, exactly, are you trying to copy, and from where? For instance, if you're attempting to copy and paste tables, views or stored procedures (etc) in the Object Explorer, you'll have no luck.
For most of these items, you should be able to right-click, select "Script [Table | View | Stored Procedure ] As > CREATE TO > New Query Editor Window", then run the script.
Unfortunately(?), SSMS isn't as easy going as Microsoft Access, there's definitely a little work involved.
just experienced the same situation in SSMS v18.5!
Also wasn't able to paste/copy code in the Query's Window.
After playing around and restarting the App it wouldn't work.
I did not have issues copying/pasting in all other applications.
Then I found a solution myself by simply thinking about how to "re-init" the engine of Copy/Paste in SSMS:
Go to: Tools | Options | General | Check "Apply Cut or Copy to blank lines when there is no selection".
After applying the "fix" you should be able to copy/paste again! You may reset the checkmark later.
Hope you other guys have the same luck!
Edit: A few hours later the Copy/Paste again was not working and the fix did not work. I found out that a separate instance of Visual Studio had the same copy/paste problem. So it may be either a Windows 10 or .NET problem.
A reboot helped me in that case.
I encountered this problem too, and got a message saying my pc was out of memory. This could be caused by too many apps being open or too many background processes running.
Simply restarting the pc resolved the problem.

Clearing the cakephp tmp/cache solves the issue for only one save call. What can be the reason?

I modified the schema of mysql database(added a new table etc.), I cleared the tmp/cache(except directories).
Now the save in the new table happens only once(I have multiple save calls in a for loop and save happens for all of them) and fails from next time I enter the flow.
I am using cakephp 1.3.
What else should I check ?
Got it.
The cache issue was one part of the problem, which got fixed by clearing the files in tmp/cache directory.
Learning is -
If you make mysql schema changes(add new table / column etc.) in mysql, either clear the tmp/cache directory or set the debug level as 3 and refresh the page and set the debug level again to 0(if on production).
I was also getting a save error - mysql server has gone away, because in configs the wait_timeout value was 600 seconds. But my script was taking longer than that.
So model->save() was not working.
In my.cnf I updated the timeout to 4800 and restarted mysql and it fixed the problem.

Don't get prompt to save- CRM Solution export

While exporting a Solution from CRM, I dont get the prompt to save the exported solution.
I cleared Cookies and tried,
Upgraded to IE 9 also and tried,
I made sure that the Popup is not blocked, but these things didn't help.
This is the case with few other colleagues of mine also.\
Thanks
I usually get a popup right at the bottom of the window. Its not instant however, Crm has to generate the solution file, so if its particulary large it can take a minute or two. I would suggest clicking export, finish the dialog and then waiting 5 minutes to see if anything happens (it needs a loading icon really).
If that doesnt work, try the same again with a small solution (one entity).
I know it is too late but I am adding the solution here if someone faces the issue again.
The issue was due to URLScan. It was solved by removing URLScan from ISAPI filters for CRM web site.

Resources