ярлык SQL PGADMIN

Select the relevant portion and hit the F5 key 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 works on Mac and Windows.
Annoyed Armadillo