postgresql 执行脚本的 pgAdmin 快捷方式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13636532/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
pgAdmin shortcuts to execute scripts
提问by Igorock
Who knows pgAdmin shortcuts to execute scripts in pgAdmin Query tool? Namely to execute whole query and execute current script.
谁知道在 pgAdmin 查询工具中执行脚本的 pgAdmin 快捷方式?即执行整个查询并执行当前脚本。
回答by Erwin Brandstetter
Select the relevant portion and hit the F5key in the SQL editor of pgAdmin.
OR use the "Execute query" button (green arrow) in the toolbar.
If nothing is selected, the whole script is executed.
选择相关部分并F5在 pgAdmin 的 SQL 编辑器中点击键。
或者使用工具栏中的“执行查询”按钮(绿色箭头)。
如果未选择任何内容,则执行整个脚本。
回答by Axis
shortcuts to execute scripts
执行脚本的快捷方式
F5
for windows user and
F5
对于 Windows 用户和
control
+ E
for mac user
control
+ E
mac 用户
回答by jeffhale
F5
works on Mac and Windows.
F5
适用于 Mac 和 Windows。
Highlighting just part of the script executes just that part of the script.
仅突出显示脚本的一部分只会执行脚本的那部分。
List of all keyboard shortcut Query Tools for pgAdmin 4 is in the docs
pgAdmin 4 的所有键盘快捷键查询工具的列表在文档中
control
+ e
didn't work on my Mac.
control
+e
在我的 Mac 上不起作用。
回答by user13598814
on mac use the fn key (bottom left) + F5
在 mac 上使用 fn 键(左下角)+ F5