2

I just started using pgAdmin3. I do not like having to have a new window when I want to run ad hoc SQL queries. Is there a way to do dock it within the top level app and actually show in the main space (to the right of the connection hierarchy view on the left)?

Evan Carroll
  • 65,432
  • 50
  • 254
  • 507
amphibient
  • 354
  • 1
  • 6
  • 17

2 Answers2

1

Selecting Default View from the View menu reattached the floating SQL pane window. Though this isn’t exactly what you are asking, various searches for this problem led here, so maybe it will help someone.

Demitri
  • 231
  • 2
  • 4
1

There is no way to do that. The only panes available in the main window are listed in the menu under View: Object browser, SQL pane, Tool bar.

You can ...

... select a passage in the query tool, then hit F5 to execute just the selection. This way you can have various queries on a page for ad-hoc calls.

... Copy SQL from the main window to query tool automatically with this option.

enter image description here

Erwin Brandstetter
  • 185,527
  • 28
  • 463
  • 633