Обсуждение: pgScripts in pgAdmin4

Поиск
Список
Период
Сортировка

pgScripts in pgAdmin4

От
Vikash B
Дата:
Hi,
I just recently made the switch from pgAdmin3 to pgAdmin4 so please forgive me if this is a stupid mistake.

I find that the obvious option to execute pgScript is missing in the query tool of pgAdmin4.
The documentation for pgAdmin4 does not say a word about pgScripts.

pgAdmin3 had an option to execute pgScripts.

How do we execute pgScripts in pgAdmin4?

Regards,
Vikash Kathirvel

Re: pgScripts in pgAdmin4

От
Dave Page
Дата:
On Tue, Nov 22, 2016 at 1:28 PM, Vikash B <master.bvik@gmail.com> wrote:
> Hi,
> I just recently made the switch from pgAdmin3 to pgAdmin4 so please forgive
> me if this is a stupid mistake.
>
> I find that the obvious option to execute pgScript is missing in the query
> tool of pgAdmin4.
> The documentation for pgAdmin4 does not say a word about pgScripts.
>
> pgAdmin3 had an option to execute pgScripts.
>
> How do we execute pgScripts in pgAdmin4?

You cannot I'm afraid. They've been more or less unsupported for years
as they really became obsolete when Postgres introduced the DO command
for executing anonymous blocks of code in v9.0.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company