Re: Concurrently run scipts

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Concurrently run scipts
Date: 2023-10-25 20:15:45
Message-ID: ZTl3cYVrLibngxAS@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Oct 25, 2023 at 08:57:03PM +0100, Shaozhong SHI wrote:
> In psql  we run scripts sequentially like the following:
>
> \ir script1
> \ir script2
>
>
> Is there something similar for concurrent running script?

Uh, yeah, see the use of \! and & starting on slide 59:

https://momjian.us/main/writings/pgsql/locking.pdf

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message hector vass 2023-10-25 20:42:50 Re: Concurrently run scipts
Previous Message Shaozhong SHI 2023-10-25 19:57:03 Concurrently run scipts